-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
38 lines (38 loc) · 1007 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"],
"plugins": ["prettier"],
"env": {
"browser": true,
"jest": true
},
"globals": {
"ENV": true
},
"rules": {
"prettier/prettier": [2, {
"singleQuote": true,
"tabWidth": 4
}],
"arrow-parens": [2, "as-needed"],
"comma-dangle": [2, "never"],
"react/forbid-prop-types": [1, {
"forbid": ["array"]
}],
"react/prefer-stateless-function": 0,
"react/prop-types": [1, {
"ignore": ["children", "key", "match"]
}],
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"indent": [2, 4, {
"SwitchCase": 1
}],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"class-methods-use-this": 0,
"function-paren-newline": 0,
"jsx-a11y/anchor-is-valid": 0
}
}