forked from markusenglund/react-kanban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 797 Bytes
/
.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
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"react/prefer-stateless-function": 0,
"react/no-array-index-key": 0,
"no-underscore-dangle": ["error", { "allow": ["_id", "_json"] }],
"jsx-a11y/no-autofocus": 0,
"jsx-a11y/anchor-is-valid": [
2,
{
"components": ["Link"],
"specialLink": ["to", "hrefLeft", "hrefRight"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
],
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"import/prefer-default-export": 0
}
}