forked from mpigsley/sectors-without-number
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
38 lines (38 loc) · 1.02 KB
/
.eslintrc.json
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",
"prettier",
"prettier/react",
"plugin:prettier/recommended"
],
"plugins": ["react", "jsx-a11y", "import", "prettier"],
"env": {
"browser": true,
"jest": true
},
"rules": {
"prettier/prettier": "error",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/label-has-for": [
2,
{
"components": ["label"],
"required": {
"some": ["nesting", "id"]
},
"allowChildren": false
}
],
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"react/jsx-props-no-spreading": "off"
}
}