-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.eslintrc.json
42 lines (42 loc) · 1.01 KB
/
.eslintrc.json
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
{
"extends": "airbnb",
"plugins": ["react"],
"parser": "babel-eslint",
"globals": {
"it": false,
"before": false,
"after": false,
"beforeEach": false,
"afterEach": false,
"describe": false,
"stub": false,
"spy": false,
"mock": false,
"clock": false,
"ErrorUtils": false,
"expect": false,
"fail": false
},
"rules": {
"react/jsx-filename-extension": 0,
"no-underscore-dangle": 0,
"no-console": 0,
"react/self-closing-comp": 0,
"no-unused-expressions": 0,
"max-len": [2, 150, 4, { "ignoreUrls": true }],
"new-cap": [
2,
{ "capIsNewExceptions": ["Map", "List", "Stack", "Record"] }
],
"func-names": 0,
"quotes": [2, "double"],
"react/jsx-indent-props": [2, 2],
"react/jsx-closing-bracket-location": 0,
"no-use-before-define": [2, { "functions": false }],
"react/prefer-stateless-function": 0,
"arrow-body-style": 0,
"no-nested-ternary": 0,
"react/jsx-no-bind": 0,
"react/prop-types": 2
}
}