forked from mozilla/advocacy.mozilla.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.06 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
{
"rules": {
"indent": [1, 2],
"no-extra-boolean-cast": [1],
"no-empty": [1],
"no-lonely-if": [2],
"no-inner-declarations": [2, "both"],
"space-after-keywords": [2],
"space-before-keywords": [2, "always"],
"space-before-blocks": [2],
"space-before-function-paren": [2, "never"],
"no-console": [0],
"comma-dangle": [1],
"eol-last": [2],
"no-unused-vars": [1, {"vars": "all", "args": "none"}],
"linebreak-style": [2, "unix"],
"semi": [1, "always"],
"eqeqeq": [2],
"no-else-return": [2],
"dot-notation": [2],
"no-eq-null": [2],
"no-return-assign": [2],
"radix": [2],
"handle-callback-err": [2]
},
"env": {
"es6": true,
"browser": true,
"commonjs": true,
"node": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"modules": true
},
"plugins": [
"react"
]
}