-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
30 lines (28 loc) · 853 Bytes
/
.eslintrc.json
File metadata and controls
30 lines (28 loc) · 853 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
{
"extends": ["airbnb"],
"env": {
"browser": true,
"es6": true,
"jest/globals": true
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"classes": true,
"jsx": true
},
"sourceType": "module"
},
"rules": {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-unused-vars": [1, { "argsIgnorePattern": "props|res|next|^err" }],
"arrow-body-style": [2, "as-needed"]
},
"plugins": ["prettier", "react", "jest"]
}