-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 860 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
{
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"import/prefer-default-export": 0,
"object-curly-newline": ["error", "consistent": true],
"consistent-return": 0,
"no-mixed-operators": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-for": [ 2, {
"components": [ "Label" ],
"required": { "some": [ "nesting", "id" ] },
}],
"comma-dangle": [ "error", "always-multiline", { "functions": "ignore" }],
"react/forbid-prop-types": [ "error", { "forbid": [ "any" ] }],
"no-use-before-define": ["error", { "functions": false }]
}
}