-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (50 loc) · 1.36 KB
/
.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
46
47
48
49
50
{
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"plugins": [
"react",
"prettier"
],
"rules": {
"jsx-a11y/anchor-is-valid": [
"error",
{ "components": ["Link"], "specialLink": ["to"] }
],
"jsx-a11y/interactive-supports-focus": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"react/no-multi-comp": 0,
"react/prop-types": 0,
"prefer-destructuring": ["error", { "object": true, "array": false }],
"no-console": 0,
"no-unused-expressions": 0,
"no-param-reassign": 0,
"no-lonely-if": 0,
"no-shadow": 0,
"no-await-in-loop": 0,
"eqeqeq": 0,
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"comma-dangle": ["error", "only-multiline"],
"import/extensions": ["off", "never"],
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/no-webpack-loader-syntax": 0,
"prettier/prettier": ["error", { "singleQuote": true, "semi": false }]
}
}