forked from dmaynard/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 1 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
{
"extends": ["airbnb", "prettier"],
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"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/anchor-is-valid": [
0,
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight", "to"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
]
},
"settings": {
"import/core-modules": []
},
"env": {
"browser": true
},
"parser": "babel-eslint"
}