@@ -133,11 +133,7 @@ module.exports = {
133133 // https://eslint.org/docs/rules/
134134 'accessor-pairs' : 'error' ,
135135 'array-callback-return' : 'error' ,
136- 'arrow-parens' : 'error' ,
137- 'arrow-spacing' : 'error' ,
138136 'block-scoped-var' : 'error' ,
139- 'block-spacing' : 'error' ,
140- 'brace-style' : [ 'error' , '1tbs' , { allowSingleLine : true } ] ,
141137 'capitalized-comments' : [ 'error' , 'always' , {
142138 line : {
143139 // Ignore all lines that have less characters than 20 and all lines that
@@ -150,49 +146,20 @@ module.exports = {
150146 ignorePattern : '.*' ,
151147 } ,
152148 } ] ,
153- 'comma-dangle' : [ 'error' , 'always-multiline' ] ,
154- 'comma-spacing' : 'error' ,
155- 'comma-style' : 'error' ,
156- 'computed-property-spacing' : 'error' ,
157149 'default-case-last' : 'error' ,
158- 'dot-location' : [ 'error' , 'property' ] ,
159150 'dot-notation' : 'error' ,
160151 'eol-last' : 'error' ,
161152 'eqeqeq' : [ 'error' , 'smart' ] ,
162153 'func-call-spacing' : 'error' ,
163154 'func-name-matching' : 'error' ,
164155 'func-style' : [ 'error' , 'declaration' , { allowArrowFunctions : true } ] ,
165- 'indent' : [ 'error' , 2 , {
166- ArrayExpression : 'first' ,
167- CallExpression : { arguments : 'first' } ,
168- FunctionDeclaration : { parameters : 'first' } ,
169- FunctionExpression : { parameters : 'first' } ,
170- MemberExpression : 'off' ,
171- ObjectExpression : 'first' ,
172- SwitchCase : 1 ,
173- } ] ,
174- 'key-spacing' : 'error' ,
175- 'keyword-spacing' : 'error' ,
176156 'linebreak-style' : 'error' ,
177- 'max-len' : [ 'error' , {
178- code : 120 ,
179- ignorePattern : '^// Flags:' ,
180- ignoreRegExpLiterals : true ,
181- ignoreTemplateLiterals : true ,
182- ignoreUrls : true ,
183- tabWidth : 2 ,
184- } ] ,
185- 'new-parens' : 'error' ,
186- 'no-confusing-arrow' : 'error' ,
187157 'no-constant-condition' : [ 'error' , { checkLoops : false } ] ,
188158 'no-constructor-return' : 'error' ,
189159 'no-duplicate-imports' : 'error' ,
190160 'no-else-return' : 'error' ,
191- 'no-extra-parens' : [ 'error' , 'functions' ] ,
192161 'no-lonely-if' : 'error' ,
193162 'no-mixed-requires' : 'error' ,
194- 'no-multi-spaces' : [ 'error' , { ignoreEOLComments : true } ] ,
195- 'no-multiple-empty-lines' : [ 'error' , { max : 2 , maxEOF : 0 , maxBOF : 0 } ] ,
196163 'no-new-require' : 'error' ,
197164 'no-path-concat' : 'error' ,
198165 'no-proto' : 'error' ,
@@ -257,10 +224,8 @@ module.exports = {
257224 } ,
258225 ] ,
259226 'no-self-compare' : 'error' ,
260- 'no-tabs' : 'error' ,
261227 'no-template-curly-in-string' : 'error' ,
262228 'no-throw-literal' : 'error' ,
263- 'no-trailing-spaces' : 'error' ,
264229 'no-undef' : [ 'error' , { typeof : true } ] ,
265230 'no-undef-init' : 'error' ,
266231 'no-unused-expressions' : [ 'error' , { allowShortCircuit : true } ] ,
@@ -276,39 +241,11 @@ module.exports = {
276241 'no-useless-return' : 'error' ,
277242 'no-var' : 'error' ,
278243 'no-void' : 'error' ,
279- 'no-whitespace-before-property' : 'error' ,
280- 'object-curly-newline' : 'error' ,
281- 'object-curly-spacing' : [ 'error' , 'always' ] ,
282244 'one-var' : [ 'error' , { initialized : 'never' } ] ,
283- 'one-var-declaration-per-line' : 'error' ,
284- 'operator-linebreak' : [ 'error' , 'after' ] ,
285- 'padding-line-between-statements' : [
286- 'error' ,
287- { blankLine : 'always' , prev : 'function' , next : 'function' } ,
288- ] ,
289245 'prefer-const' : [ 'error' , { ignoreReadBeforeAssign : true } ] ,
290246 'prefer-object-has-own' : 'error' ,
291- 'quotes' : [ 'error' , 'single' , { avoidEscape : true } ] ,
292- 'quote-props' : [ 'error' , 'consistent' ] ,
293- 'rest-spread-spacing' : 'error' ,
294- 'semi' : 'error' ,
295- 'semi-spacing' : 'error' ,
296- 'space-before-blocks' : [ 'error' , 'always' ] ,
297- 'space-before-function-paren' : [ 'error' , {
298- anonymous : 'never' ,
299- named : 'never' ,
300- asyncArrow : 'always' ,
301- } ] ,
302- 'space-in-parens' : 'error' ,
303- 'space-infix-ops' : 'error' ,
304- 'space-unary-ops' : 'error' ,
305- 'spaced-comment' : [ 'error' , 'always' , {
306- 'block' : { 'balanced' : true } ,
307- 'exceptions' : [ '-' ] ,
308- } ] ,
309247 'strict' : [ 'error' , 'global' ] ,
310248 'symbol-description' : 'error' ,
311- 'template-curly-spacing' : 'error' ,
312249 'unicode-bom' : 'error' ,
313250 'valid-typeof' : [ 'error' , { requireStringLiterals : true } ] ,
314251
0 commit comments