-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 992 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
43
44
45
46
{
"extends": [
"airbnb",
"plugin:flowtype/recommended"
],
"env": {
"browser": true,
"node": true
},
"plugins": [
"react",
"jsx-a11y",
"import",
"flowtype"
],
"parser": "babel-eslint",
"rules": {
"radix": 0,
"react/jsx-indent": ["error", 2],
"react/jsx-indent-props": ["error", 2],
"react/forbid-prop-types": [1, {"forbid":["any"]}],
"jsx-a11y/label-has-for": [ 2, {
"components": [ "Label" ],
"required": {
"every": [ "id" ]
},
"allowChildren": false,
}],
"jsx-a11y/href-no-hash": 0,
"no-return-assign": 0,
"no-alert": 1,
"no-console": 1,
"no-undef": 1,
"react/jsx-filename-extension": [2, { "extensions": [".js"] }],
"class-methods-use-this": 0,
"react/jsx-no-bind": 0,
"new-cap": 0,
"react/require-default-props": 0,
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
]
}
}