forked from Leaflet/Leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (40 loc) · 965 Bytes
/
.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
{
"rules": {
"eqeqeq": 2,
"consistent-return": 2,
"no-loop-func": 2,
"no-use-before-define": [2, "nofunc"],
"no-lonely-if": 2,
"no-else-return": 2,
"no-new": 2,
"no-throw-literal": 2,
"no-self-compare": 2,
"no-void": 2,
"no-eq-null": 2,
"quotes": [2, "single"],
"camelcase": 2,
"comma-style": 2,
"comma-spacing": 2,
"new-cap": 2,
"no-empty": 2,
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"space-in-parens": 2,
"space-before-blocks": 2,
"space-after-keywords": 2,
"space-infix-ops": 2,
"space-unary-ops": 2,
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"array-bracket-spacing": 2,
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-constant-condition": 0
},
"globals": {
"L": true,
"module": false,
"define": false
},
"env": {
"browser": true
},
"extends": "eslint:recommended"
}