forked from ismyrnow/leaflet-groupedlayercontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.42 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"env": {
"node": true,
"browser": true
},
"rules": {
"array-bracket-spacing": [2, "never"],
"block-spacing": [2, "always"],
"brace-style": [2, "1tbs"],
"complexity": [1, 10],
"comma-spacing": [2, { "after": true }],
"comma-style": [2, "last"],
"consistent-this": [2, "self"],
"indent": [2, 2],
"func-style": [2, "declaration"],
"key-spacing": [2, { "beforeColon": false, "afterColon": true, "mode": "strict" }],
"keyword-spacing": [2, { "before": true, "after": true }],
"max-statements-per-line": [2, { "max": 1 }],
"new-parens": 2,
"no-array-constructor": 2,
"no-console": 1,
"no-constant-condition": 0,
"no-extra-parens": 0,
"no-irregular-whitespace": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": 2,
"no-negated-condition": 2,
"no-nested-ternary": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-underscore-dangle": 0,
"no-use-before-define": [2, "nofunc"],
"no-whitespace-before-property": 2,
"object-curly-newline": [2, { "multiline": true }],
"object-curly-spacing": [2, "always"],
"padded-blocks": [2, "never"],
"quotes": [2, "single"],
"semi": [2, "always"],
"semi-spacing": 2,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, { "anonymous": "always", "named": "never" }],
"space-in-parens": [2, "never"],
"spaced-comment": [2, "always"]
}
}