@@ -100,137 +100,131 @@ module.exports = {
100100 'max-params' : 0 ,
101101 'max-statements' : 0 ,
102102
103+ 'new-cap' : 0 ,
104+ 'new-parens' : 1 ,
105+ 'newline-after-var' : 0 ,
103106 'no-alert' : 1 ,
107+ 'no-array-constructor' : 1 ,
104108 'no-bitwise' : 1 ,
105109 'no-caller' : 1 ,
106110 'no-case-declarations' : 0 ,
111+ 'no-catch-shadow' : 0 ,
107112 'no-cond-assign' : [
108113 1 ,
109114 'except-parens'
110115 ] ,
111116 'no-confusing-arrow' : [ 'error' , { allowParens : false } ] ,
112117 'no-console' : 0 ,
113- 'no-div-regex' : 1 ,
114- 'no-else-return' : 1 ,
115- 'no-eq-null' : 0 ,
116- 'no-eval' : 1 ,
117- 'no-extend-native' : 1 ,
118- 'no-extra-bind' : 1 ,
119- 'no-fallthrough' : 0 ,
120- 'no-floating-decimal' : 1 ,
121118 'no-constant-condition' : 1 ,
119+ 'no-continue' : 1 ,
122120 'no-control-regex' : 1 ,
123121 'no-debugger' : 1 ,
122+ 'no-delete-var' : 1 ,
123+ 'no-div-regex' : 1 ,
124124 'no-dupe-args' : 1 ,
125125 'no-dupe-keys' : 1 ,
126126 'no-duplicate-case' : 0 ,
127- 'no-empty-character-class ' : 1 ,
127+ 'no-else-return ' : 1 ,
128128 'no-empty' : 1 ,
129+ 'no-empty-character-class' : 1 ,
130+ 'no-eq-null' : 0 ,
131+ 'no-eval' : 1 ,
129132 'no-ex-assign' : 1 ,
133+ 'no-extend-native' : 1 ,
134+ 'no-extra-bind' : 1 ,
130135 'no-extra-boolean-cast' : 1 ,
131136 'no-extra-parens' : 0 ,
132137 'no-extra-semi' : 1 ,
138+ 'no-fallthrough' : 0 ,
139+ 'no-floating-decimal' : 1 ,
133140 'no-func-assign' : 1 ,
141+ 'no-implied-eval' : 1 ,
142+ 'no-inline-comments' : 0 ,
134143 'no-inner-declarations' : [
135144 1 ,
136145 'functions'
137146 ] ,
138147 'no-invalid-regexp' : 1 ,
139148 'no-irregular-whitespace' : 1 ,
140- 'no-negated-in-lhs' : 1 ,
141- 'no-obj-calls' : 1 ,
142- 'no-regex-spaces' : 1 ,
143- 'no-reserved-keys' : 0 ,
144- 'no-sparse-arrays' : 1 ,
145- 'no-unexpected-multiline' : 1 ,
146- 'no-unreachable' : 1 ,
147-
148- 'no-implied-eval' : 1 ,
149149 'no-iterator' : 1 ,
150+ 'no-label-var' : 1 ,
150151 'no-labels' : 1 ,
151152 'no-lone-blocks' : 1 ,
153+ 'no-lonely-if' : 1 ,
152154 'no-loop-func' : 1 ,
155+ 'no-mixed-spaces-and-tabs' : 1 ,
153156 'no-multi-spaces' : 1 ,
154157 'no-multi-str' : 1 ,
158+ 'no-multiple-empty-lines' : [
159+ 1 ,
160+ {
161+ 'max' : 1
162+ }
163+ ] ,
155164 'no-native-reassign' : 1 ,
165+ 'no-negated-in-lhs' : 1 ,
166+ 'no-nested-ternary' : 0 ,
156167 'no-new' : 1 ,
157168 'no-new-func' : 1 ,
169+ 'no-new-object' : 1 ,
158170 'no-new-wrappers' : 1 ,
171+ 'no-obj-calls' : 1 ,
159172 'no-octal' : 1 ,
160173 'no-octal-escape' : 1 ,
161174 'no-param-reassign' : 0 ,
162175 'no-plusplus' : 0 ,
163176 'no-process-env' : 0 ,
164177 'no-proto' : 1 ,
165178 'no-redeclare' : 1 ,
179+ 'no-regex-spaces' : 1 ,
180+ 'no-reserved-keys' : 0 ,
166181 'no-return-assign' : 1 ,
167182 'no-script-url' : 1 ,
168183 'no-self-compare' : 1 ,
169184 'no-sequences' : 1 ,
170- 'no-throw-literal' : 1 ,
171- 'no-unused-expressions' : 0 ,
172- 'no-void' : 0 ,
173- 'no-warning-comments' : [
174- 1 ,
175- {
176- 'terms' : [
177- 'todo' ,
178- 'tofix'
179- ] ,
180- 'location' : 'start'
181- }
182- ] ,
183- 'no-with' : 1 ,
184- 'new-cap' : 0 ,
185- 'new-parens' : 1 ,
186- 'newline-after-var' : 0 ,
187- 'no-array-constructor' : 1 ,
188- 'no-continue' : 1 ,
189- 'no-inline-comments' : 0 ,
190- 'no-lonely-if' : 1 ,
191- 'no-mixed-spaces-and-tabs' : 1 ,
192- 'no-multiple-empty-lines' : [
193- 1 ,
194- {
195- 'max' : 1
196- }
197- ] ,
198- 'no-nested-ternary' : 0 ,
199- 'no-new-object' : 1 ,
185+ 'no-shadow' : 1 ,
186+ 'no-shadow-restricted-names' : 1 ,
200187 'no-spaced-func' : 1 ,
188+ 'no-sparse-arrays' : 1 ,
201189 'no-ternary' : 0 ,
190+ 'no-this-before-super' : 1 ,
191+ 'no-throw-literal' : 1 ,
202192 'no-trailing-spaces' : 1 ,
193+ 'no-undef' : 1 ,
194+ 'no-undef-init' : 1 ,
203195 'no-underscore-dangle' : 0 ,
196+ 'no-unexpected-multiline' : 1 ,
204197 'no-unneeded-ternary' : 1 ,
205- 'no-this-before-super' : 1 ,
206- 'no-var' : 'error' ,
207- 'no-catch-shadow' : 0 ,
208- 'no-delete-var' : 1 ,
209- 'no-label-var' : 1 ,
210- 'no-shadow-restricted-names' : 1 ,
211- 'no-shadow' : 1 ,
212- 'no-undef-init' : 1 ,
213- 'no-undef' : 1 ,
198+ 'no-unreachable' : 1 ,
199+ 'no-unused-expressions' : 0 ,
214200 'no-unused-vars' : [
215201 1 ,
216202 {
217- 'vars ' : 'local ' ,
218- 'args ' : 'after-used '
203+ 'args ' : 'after-used ' ,
204+ 'vars ' : 'local '
219205 }
220206 ] ,
221207 'no-use-before-define' : 1 ,
222-
223- 'radix' : [
224- 'error' ,
225- 'as-needed'
208+ 'no-var' : 'error' ,
209+ 'no-void' : 0 ,
210+ 'no-warning-comments' : [
211+ 1 ,
212+ {
213+ 'location' : 'start' ,
214+ 'terms' : [
215+ 'todo' ,
216+ 'tofix'
217+ ]
218+ }
226219 ] ,
220+ 'no-with' : 1 ,
227221
228222 'object-curly-spacing' : 0 ,
229- 'operator-assignment ' : [
223+ 'object-shorthand ' : [
230224 1 ,
231225 'always'
232226 ] ,
233- 'object-shorthand ' : [
227+ 'operator-assignment ' : [
234228 1 ,
235229 'always'
236230 ] ,
@@ -256,6 +250,11 @@ module.exports = {
256250 'single'
257251 ] ,
258252
253+ 'radix' : [
254+ 'error' ,
255+ 'as-needed'
256+ ] ,
257+
259258 'semi' : [
260259 1 ,
261260 'always'
0 commit comments