-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
36 lines (36 loc) · 861 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
{
"env": {
"jest": true
},
"globals": {
"browser": true,
"window": true,
"document": true,
"location": true,
"fetch": true,
"PREBUILD": true,
"jasmine": true
},
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["react", "import"],
"rules":{
"react/jsx-no-bind": [2, {
"ignoreRefs": true,
"allowArrowFunctions": false,
"allowBind": false
}],
"comma-dangle": [0],
"arrow-body-style": [2, "as-needed"],
"class-methods-use-this": [0],
"jsx-a11y/no-static-element-interactions": [0],
"jsx-a11y/label-has-for": [0],
"jsx-a11y/anchor-has-content": [0],
"no-return-assign": ["error", "except-parens"],
"no-constant-condition": [2, {
"checkLoops": false
}],
"react/forbid-prop-types": [0],
"import/no-extraneous-dependencies": [0]
}
}