File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 2
2
"extends" : [
3
3
" eslint:recommended"
4
4
],
5
+ "ignorePatterns" : [
6
+ " docs" ,
7
+ " tools" ,
8
+ " dist" ,
9
+ " website.js" ,
10
+ " test/files/*" ,
11
+ " benchmarks"
12
+ ],
13
+ "overrides" : [],
5
14
"plugins" : [
6
15
" mocha-no-only"
7
16
],
8
17
"parserOptions" : {
9
- "ecmaVersion" : 2017
18
+ "ecmaVersion" : 2020
10
19
},
11
20
"env" : {
12
21
"node" : true ,
26
35
"no-whitespace-before-property" : " error" ,
27
36
"no-buffer-constructor" : " warn" ,
28
37
"no-console" : " off" ,
29
- "no-multi-spaces" : " error" ,
30
38
"no-constant-condition" : " off" ,
39
+ "no-multi-spaces" : " error" ,
31
40
"func-call-spacing" : " error" ,
32
41
"no-trailing-spaces" : " error" ,
33
42
"no-undef" : " error" ,
118
127
"no-prototype-builtins" : " off" ,
119
128
"mocha-no-only/mocha-no-only" : [
120
129
" error"
121
- ]
130
+ ],
131
+ "no-empty" : " off" ,
132
+ "eol-last" : " warn" ,
133
+ "no-multiple-empty-lines" : [" warn" , { "max" : 2 }]
122
134
}
123
- }
135
+ }
You can’t perform that action at this time.
0 commit comments