-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 1.16 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
{
"extends": [
"react-app",
"standard",
"plugin:jsx-a11y/recommended",
"plugin:cypress/recommended"
],
"env": {
"cypress/globals": true
},
"plugins": ["jsx-a11y", "cypress"],
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"react/jsx-indent": ["error", 2],
"react/jsx-indent-props": ["error", 2],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-one-expression-per-line": "off",
"react/forbid-prop-types": 0,
"react/no-array-index-key": 0,
"no-underscore-dangle": "off",
"no-plusplus": "off",
"no-case-declarations": "off",
"no-restricted-globals": "off",
"no-nested-ternary": "off",
"no-bitwise": "off",
"no-prototype-builtins": "off",
"linebreak-style": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"import/prefer-default-export": "off",
"import/no-named-as-default": "off",
"max-len": [1, 200],
"quotes": "error",
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "never"
}]
}
}