-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 1.15 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
{
"extends": ["airbnb", "prettier"],
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"react/prefer-stateless-function": "off",
"react/destructuring-assignment": "off",
"react/prop-types": "off",
"react/no-danger": "off",
"react/jsx-one-expression-per-line": "off",
"react/no-unescaped-entities": "off",
"react/no-array-index-key": "off",
"react/no-did-update-set-state": "off",
"react/no-access-state-in-setstate": "off",
"import/no-unresolved": "off",
"import/no-mutable-exports": "off",
"import/no-extraneous-dependencies": "off",
"prefer-const": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "hrefLeft", "hrefRight", "to" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}],
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/label-has-for": "off",
"class-methods-use-this": "off",
"consistent-return": "off"
},
"settings": {
"import/core-modules": []
},
"env": {
"browser": true
}
}