@@ -23,19 +23,19 @@ module.exports = {
23
23
} ] ,
24
24
25
25
// Best practices
26
- 'array-callback-return' : [ 1 ] ,
27
- 'block-scoped-var' : [ 1 ] ,
26
+ 'array-callback-return' : [ 2 ] ,
27
+ 'block-scoped-var' : [ 2 ] ,
28
28
'curly' : [ 2 , 'multi-line' ] ,
29
29
'dot-location' : [ 2 , 'property' ] ,
30
30
'dot-notation' : [ 2 ] ,
31
31
'eqeqeq' : [ 2 ] ,
32
32
'no-alert' : [ 2 ] ,
33
33
'no-div-regex' : [ 2 ] ,
34
- 'no-else-return' : [ 1 ] ,
34
+ 'no-else-return' : [ 2 ] ,
35
35
'no-eq-null' : [ 2 ] ,
36
36
'no-eval' : [ 2 ] ,
37
37
'no-extend-native' : [ 2 ] ,
38
- 'no-extra-bind' : [ 1 ] ,
38
+ 'no-extra-bind' : [ 2 ] ,
39
39
'no-global-assign' : [ 2 ] ,
40
40
'no-implied-eval' : [ 2 ] ,
41
41
'no-invalid-this' : [ 2 ] ,
@@ -44,22 +44,17 @@ module.exports = {
44
44
'no-loop-func' : [ 2 ] ,
45
45
'no-multi-spaces' : [ 2 ] ,
46
46
'no-multi-str' : [ 2 ] ,
47
- 'no-new' : [ 1 ] ,
47
+ 'no-new' : [ 2 ] ,
48
48
'no-proto' : [ 2 ] ,
49
- 'no-restricted-properties' : [ 1 , {
50
- object : 'lodash' ,
51
- property : 'defaults' ,
52
- message : 'Please use Object.assign'
53
- } ] ,
54
49
'no-return-assign' : [ 2 ] ,
55
50
'no-script-url' : [ 2 ] ,
56
51
'no-self-compare' : [ 2 ] ,
57
- 'no-sequences' : [ 1 ] ,
52
+ 'no-sequences' : [ 2 ] ,
58
53
'no-throw-literal' : [ 2 ] ,
59
- 'no-unmodified-loop-condition' : [ 1 ] ,
54
+ 'no-unmodified-loop-condition' : [ 2 ] ,
60
55
'no-unused-expressions' : [ 2 ] ,
61
56
'no-useless-call' : [ 2 ] ,
62
- 'no-useless-concat' : [ 1 ] ,
57
+ 'no-useless-concat' : [ 2 ] ,
63
58
'no-useless-escape' : [ 2 ] ,
64
59
'no-warning-comments' : [ 1 , {
65
60
location : 'anywhere'
@@ -75,7 +70,7 @@ module.exports = {
75
70
'no-shadow' : [ 2 ] ,
76
71
'no-undefined' : [ 2 ] ,
77
72
'no-use-before-define' : [ 2 ] ,
78
-
73
+
79
74
// Strict
80
75
'strict' : [ 2 , 'never' ] ,
81
76
@@ -111,14 +106,14 @@ module.exports = {
111
106
} ] ,
112
107
'new-parens' : [ 2 ] ,
113
108
'newline-per-chained-call' : [ 2 ] ,
114
- 'no-lonely-if' : [ 1 ] ,
115
- 'no-mixed-operators' : [ 1 ] ,
109
+ 'no-lonely-if' : [ 2 ] ,
110
+ 'no-mixed-operators' : [ 2 ] ,
116
111
'no-multiple-empty-lines' : [ 2 , {
117
112
max : 2 ,
118
113
maxBOF : 0 ,
119
114
maxEOF : 0
120
115
} ] ,
121
- 'no-negated-condition' : [ 1 ] ,
116
+ 'no-negated-condition' : [ 2 ] ,
122
117
'no-tabs' : [ 2 ] ,
123
118
'no-trailing-spaces' : [ 2 , { skipBlankLines : true } ] ,
124
119
'no-unneeded-ternary' : [ 2 ] ,
@@ -133,7 +128,7 @@ module.exports = {
133
128
allowTemplateLiterals : true ,
134
129
avoidEscape : true
135
130
} ] ,
136
- 'require-jsdoc' : [ 1 ] ,
131
+ 'require-jsdoc' : [ 2 ] ,
137
132
'semi' : [ 2 , 'always' ] ,
138
133
'semi-spacing' : [ 2 ] ,
139
134
'space-before-function-paren' : [ 2 , 'always' ] ,
0 commit comments