forked from MovingBlocks/movingblocks.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
38 lines (38 loc) · 817 Bytes
/
.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
{
"extends": ["airbnb", "airbnb/hooks", "prettier"],
"parserOptions": {
"ecmaVersion": 2020
},
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"no-console": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/no-danger": "off",
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight", "to"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
],
"jsx-a11y/control-has-associated-label": [ 2, {
"ignoreElements": [
"th"
]
}],
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
]
},
"settings": {
"import/core-modules": []
},
"env": {
"browser": true
}
}