-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 880 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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:import/errors"
],
"rules": {
"react/jsx-filename-extension": [2, { "extensions": [".js"] }],
"no-unused-vars": ["error", { "vars": "all", "args": "all", "argsIgnorePattern": "ignored" }],
"react/sort-comp": [2, {
"order": [
"static-methods",
"lifecycle",
"everything-else",
"rendering"
],
"groups": {
"rendering": [
"/^render.+$/",
"render"
]
}
}],
"max-len": ["error", {
"code": 120
}],
"react/prefer-stateless-function": 0,
"jsx-a11y/href-no-hash": 0,
"no-console": 0,
"import/prefer-default-export": 0,
"react/require-default-props": 0,
"react/jsx-no-bind": 0
},
"settings": {
"import/resolver": "webpack"
},
"env": {
"browser": true
}
}