-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 1.04 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
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"indent": ["error", 2],
"quotes": ["error", "single"],
"semi": ["error", "never"],
"comma-dangle": ["error", "never"],
"no-cond-assign": ["error", "always"],
"no-console": "off",
"eqeqeq": ["error", "smart"],
"curly": ["error", "multi-line"],
"no-else-return": ["error"],
"no-eval": ["error"],
"no-use-before-define": ["error"],
"no-undef": ["error"],
"no-unused-vars": ["error", { "varsIgnorePattern": "^h$" }],
"array-bracket-spacing": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"react/prop-types": [true, { "ignore": ["children"] }]
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"plugins": [
"cypress"
],
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true,
"cypress/globals": true
}
}