-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
107 lines (107 loc) · 2.46 KB
/
.eslintrc.json
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"plugins": [
"cypress",
"chai-friendly",
"mocha"
],
"env": {
"browser": true,
"cypress/globals": true
},
"extends": [
"plugin:cypress/recommended",
"plugin:chai-friendly/recommended",
"airbnb"
],
"rules": {
"cypress/assertion-before-screenshot": "warn",
"cypress/no-force": "warn",
"no-param-reassign": "off",
"func-names": 0,
"max-len": ["error",
{
"code": 100
}
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 1
}
],
"capitalized-comments": [
"error",
"never"
],
"no-inline-comments": "error",
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": [
"const",
"let",
"var"
],
"next": "*"
},
{
"blankLine": "never",
"prev": [
"const",
"let",
"var"
],
"next": [
"const",
"let",
"var"
]
},
{
"blankLine": "always",
"prev": "function",
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": "return"
}
],
"prefer-destructuring": "off",
"no-use-before-define": [ 2, { "functions": false } ],
"object-shorthand": [
"error",
"never"
],
"comma-dangle": [
"error",
"never"
],
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2,
"indent": [
"error",
4
],
"linebreak-style": 0,
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"mocha/no-exclusive-tests": "error"
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
}
}