/
.eslintrc
45 lines (45 loc) · 909 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
34
35
36
37
38
39
40
41
42
43
44
45
{
"extends": [
"airbnb",
"plugin:jsx-a11y/recommended",
"prettier",
"prettier/react"
],
"parser": "babel-eslint",
"plugins": ["jsx-a11y", "react"],
"settings": {
"import/resolver": {
"webpack": {
"config": "tools/webpack/webpack.config.js"
}
}
},
"rules": {
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/href-no-hash": 2,
"no-else-return": 1,
"no-nested-ternary": 0,
"no-extraneous-dependencies": 0,
"no-script-url": 0,
"no-with": 0,
"react/prop-types": 1,
"react/jsx-boolean-value": 0,
"react/jsx-wrap-multilines": 1,
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/no-unresolved": 0
}
}