-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.eslintrc.json
More file actions
41 lines (41 loc) · 1.22 KB
/
.eslintrc.json
File metadata and controls
41 lines (41 loc) · 1.22 KB
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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"array-bracket-spacing": [ 1, "always" ],
"comma-dangle": [ 1, "never" ],
"eqeqeq": [ 2, "smart" ],
"jsx-quotes": [ 1, "prefer-double" ],
"no-unused-vars": 1,
"object-curly-spacing": [ 1, "always" ],
"quotes": [ 1, "single", "avoid-escape" ],
"react/jsx-tag-spacing": [1, {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never"
}
],
"react/no-did-mount-set-state": 0,
"react/prop-types": 1,
"react/forbid-prop-types": 0,
"semi": [ 1, "always" ],
"space-before-blocks": [ 1, "always" ],
"consistent-return": 0,
"arrow-body-style": [0, "never"],
"no-nested-ternary": [0, "never"]
},
"globals": {
"describe": false,
"it": false
}
}