-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
40 lines (40 loc) · 1.2 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
39
40
{
"extends": ["airbnb", "prettier"],
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"no-else-return": "off",
"react/no-did-update-set-state": "off",
"prefer-destructuring": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/no-danger": "off",
"react/button-has-type": "off",
"react/jsx-filename-extension": "off",
"react/no-array-index-key": "off",
"react/destructuring-assignment": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"react/jsx-curly-brace-presence": "off",
"react/jsx-one-expression-per-line": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/accessible-emoji": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/anchor-is-valid": [
0,
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight", "to"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
]
},
"settings": {
"import/core-modules": []
},
"env": {
"browser": true
},
"parser": "babel-eslint"
}