-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.json
More file actions
44 lines (44 loc) · 881 Bytes
/
.eslintrc.json
File metadata and controls
44 lines (44 loc) · 881 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
43
44
{
"env": {
"commonjs": true,
"node": true,
"es6": true,
"jest": true
},
"globals": {
"describe": true,
"expect": true,
"it": true,
"test": true,
"page": true,
"context": true,
"process": true,
"__dirname": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"classes": true
}
},
"parser": "babel-eslint",
"plugins": ["import", "deprecate"],
"extends": ["eslint:recommended", "prettier"],
"rules": {
"no-mixed-spaces-and-tabs": 0,
"no-unused-vars": 2,
"no-var": 2,
"no-console": ["error", { "allow": ["error", "info", "warn"] }],
"complexity": [2, 10],
"no-multiple-empty-lines": [2, { "max": 2, "maxEOF": 1 }],
"import/order": [
2,
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"newlines-between": "never"
}
]
}
}