-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc
43 lines (43 loc) · 1.16 KB
/
.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
41
42
43
{
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"no-param-reassign": ["error", { "props": false }],
"no-use-before-define": ["error", { "functions": false, "classes": true, "variables": false }],
"no-nested-ternary": 0,
"no-underscore-dangle": 0,
"object-shorthand": 0,
"consistent-return": 0,
"no-plusplus": 0,
"func-names": 0,
"no-multi-assign": 0,
"no-restricted-syntax": 0,
"guard-for-in": 0,
"no-mixed-operators": 0,
"no-continue": 0,
"prefer-template": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
}],
"arrow-parens": 0,
"prefer-arrow-callback": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prop-types": 0,
"jsx-a11y/no-static-element-interactions": 0,
"class-methods-use-this": 0,
"no-await-in-loop": 0,
"linebreak-style": ["error", "unix"],
}
}