-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.eslintrc
38 lines (38 loc) · 855 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"no-underscore-dangle": 0,
"react/jsx-filename-extension": 0,
"import/no-named-default": 0,
"jsx-a11y/no-static-element-interactions": 0,
"no-return-assign": 0,
"comma-dangle": 0,
"import/no-named-as-default": 0,
"object-curly-newline": 0,
"jsx-a11y/click-events-have-key-events": 0,
"react/jsx-props-no-spreading": 0,
"max-len": ["error", 120],
"operator-linebreak": ["error", "after"],
"arrow-parens": [
"error",
"as-needed",
{
"requireForBlockBody": false
}
]
},
"settings": {
"import/resolver": {
"node": {
"paths": [".", "src", "node_modules"],
"extensions": [".js", ".jsx"]
}
}
}
}