-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.eslintrc
More file actions
42 lines (42 loc) · 923 Bytes
/
.eslintrc
File metadata and controls
42 lines (42 loc) · 923 Bytes
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
{
"extends": [
"airbnb",
"plugin:prettier/recommended"
],
"plugins": [
"react",
"prettier"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"react/jsx-filename-extension": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"function-paren-newline": ["off"],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["to", "onClick"]
}
],
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-autofocus": "off",
"no-underscore-dangle": 0,
// "eslint.autoFixOnSave": true,
"no-prototype-builtins": "off",
"react/prop-types": "off",
"no-param-reassign": "off",
"quotes": ["error", "single"],
"prettier/prettier" : "error"
}
}