File tree 1 file changed +38
-38
lines changed
1 file changed +38
-38
lines changed Original file line number Diff line number Diff line change 2
2
3
3
module . exports = {
4
4
'rules' : {
5
+ 'array-bracket-spacing' : [
6
+ 'error' ,
7
+ 'always'
8
+ ] ,
9
+ 'block-scoped-var' : [
10
+ 'error'
11
+ ] ,
12
+ 'brace-style' : [
13
+ 'error'
14
+ ] ,
15
+ 'curly' : [
16
+ 'error' ,
17
+ 'multi-or-nest' ,
18
+ 'consistent'
19
+ ] ,
5
20
'indent' : [
6
21
'error' ,
7
22
'tab' ,
@@ -13,67 +28,52 @@ module.exports = {
13
28
'error' ,
14
29
'unix'
15
30
] ,
16
- 'quotes' : [
17
- 'error' ,
18
- 'single'
19
- ] ,
20
- 'semi' : [
21
- 'error' ,
22
- 'always'
23
- ] ,
24
- 'no-unused-vars' : [
25
- 'error' ,
26
- {
27
- 'vars' : 'local' ,
28
- 'argsIgnorePattern' : '^_' ,
29
- 'varsIgnorePattern' : '^_' ,
30
- }
31
- ] ,
32
31
'max-len' : [
33
32
'error' ,
34
33
{
35
34
'code' : 80
36
35
}
37
36
] ,
38
- 'array-bracket-spacing' : [
39
- 'error' ,
40
- 'always'
37
+ 'no-else-return' : [
38
+ 'error'
41
39
] ,
42
- 'object-curly-spacing' : [
43
- 'error' ,
44
- 'always'
40
+ 'no-empty-function' : [
41
+ 'error'
45
42
] ,
46
43
'no-extra-parens' : [
47
44
'error'
48
45
] ,
49
- 'no-template-curly-in-string ' : [
46
+ 'no-self-compare ' : [
50
47
'error'
51
48
] ,
52
- 'no-unreachable-loop ' : [
49
+ 'no-template-curly-in-string ' : [
53
50
'error'
54
51
] ,
55
- 'block-scoped-var ' : [
52
+ 'no-unreachable-loop ' : [
56
53
'error'
57
54
] ,
58
- 'curly ' : [
55
+ 'no-unused-vars ' : [
59
56
'error' ,
60
- 'multi-or-nest' ,
61
- 'consistent'
62
- ] ,
63
- 'no-else-return ' : [
64
- 'error'
57
+ {
58
+ 'vars' : 'local' ,
59
+ 'argsIgnorePattern' : '^_' ,
60
+ 'varsIgnorePattern ' : '^_'
61
+ }
65
62
] ,
66
- 'no-empty-function ' : [
63
+ 'no-useless-return ' : [
67
64
'error'
68
65
] ,
69
- 'no-self-compare' : [
70
- 'error'
66
+ 'object-curly-spacing' : [
67
+ 'error' ,
68
+ 'always'
71
69
] ,
72
- 'no-useless-return' : [
73
- 'error'
70
+ 'quotes' : [
71
+ 'error' ,
72
+ 'single'
74
73
] ,
75
- 'brace-style' : [
76
- 'error'
74
+ 'semi' : [
75
+ 'error' ,
76
+ 'always'
77
77
] ,
78
78
'strict' : [
79
79
'error' ,
You can’t perform that action at this time.
0 commit comments