-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
60 lines (50 loc) · 1.28 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"extends": "airbnb",
"settings": {
"react": {
"pragma": "m"
}
},
"env": {
"node": true
},
"rules": {
"strict": "off",
"handle-callback-err": "error",
"no-mixed-requires": "error",
"no-mixed-operators": ["error", {
"allowSamePrecedence": true
}],
"no-underscore-dangle": ["off"],
"object-curly-spacing": ["error", "never"],
"one-var": ["error", {
"uninitialized": "always",
"initialized": "never"
}],
"one-var-declaration-per-line": ["error", "initializations"],
"no-unused-vars": ["warn", {
"vars": "local",
"args": "none"
}],
"no-use-before-define": ["error", "nofunc"],
"arrow-parens": ["error", "as-needed", {
"requireForBlockBody": false
}],
"template-curly-spacing": ["error", "always"],
"import/named": "error",
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true,
"optionalDependencies": false
}],
"import/prefer-default-export": "off",
"react/no-unknown-property": "off",
"react/prop-types": "off",
"react/jsx-filename-extension": ["error", {
"extensions": [".js"]
}],
"react/jsx-max-props-per-line": ["error", {
"maximum": 2
}],
"jsx-a11y/label-has-for": "off"
}
}