forked from nightwatchjs/nightwatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.14 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
44
45
46
47
48
49
50
51
52
53
54
55
{
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
}
},
"env": {
"browser": false,
"mocha": true,
"node": true
},
"rules": {
"eqeqeq": ["error", "smart"],
"no-extra-boolean-cast": 0,
"quotes": ["error", "single"],
"curly": ["error", "all"],
"no-console": ["warn", { "allow": ["error"] }],
"no-debugger": 1,
"semi": [1, "always"],
"no-trailing-spaces": 0,
"no-else-return": 0,
"no-extra-bind": 0,
"no-implicit-coercion": 0,
"no-useless-call": 0,
"no-return-assign": 0,
"eol-last": 0,
"no-unused-vars": 0,
"no-extra-semi": 1,
"no-underscore-dangle": 0,
"no-lone-blocks": 0,
"one-var": ["error", "never"],
"padding-line-between-statements": [
"warn",
{ "blankLine": "always", "prev": "*", "next": "return" },
{ "blankLine": "any", "prev": ["const"], "next": "*"}
],
"indent": [
"error",
2,
{
"SwitchCase": 1
}
]
},
"globals": {
"Promise": true,
"Proxy": true,
"Reflect": true
}
}