-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
41 lines (41 loc) · 1.15 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
{
"root": true,
"extends": ["wesbos"],
"rules": {
"import/no-cycle": [2, { "maxDepth": 1 }],
"jsx-a11y/accessible-emoji": "error",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": [
"error",
{
"assert": "either",
"depth": 3
}
],
"react/destructuring-assignment": "warn",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "warn",
"react/state-in-constructor": ["warn", "never"],
"react/no-unused-state": "warn",
"prettier/prettier": [
"error",
{
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": false
}
]
},
"overrides": [
{
"files": ["__config/**"],
"rules": { "import/no-extraneous-dependencies": "off" }
}
]
}