@@ -81,7 +81,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
8181- ecmaFeatures.jsx
8282 - [ <ins >true</ins >]
8383- parser
84- - [ < del > " ; babel-eslint" ; </ del > ]
84+ - [ " ; babel-eslint" ; ]
8585- plugins.0
8686 - [ " ; react" ; ]
8787 - [ " ; import" ; ]
@@ -98,9 +98,15 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
9898
9999
100100#### Added rules
101+ -
102+ [array-bracket-newline](http://eslint.org/docs/rules/array-bracket-newline.html)
103+ - [ <ins >" ; off" ; </ins >, <ins >{" ; multiline" ; : true ," ; minItems" ; :3}</ins >]
101104-
102105 [array-callback-return](http://eslint.org/docs/rules/array-callback-return.html)
103106 - [ <ins >" ; error" ; </ins >]
107+ -
108+ [array-element-newline](http://eslint.org/docs/rules/array-element-newline.html)
109+ - [ <ins >" ; off" ; </ins >, <ins >{" ; multiline" ; : true ," ; minItems" ; :3}</ins >]
104110-
105111 [block-spacing](http://eslint.org/docs/rules/block-spacing.html)
106112 - [ <ins >" ; error" ; </ins >, <ins >" ; always" ; </ins >]
@@ -110,12 +116,18 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
110116-
111117 [class-methods-use-this](http://eslint.org/docs/rules/class-methods-use-this.html)
112118 - [ <ins >" ; error" ; </ins >, <ins >{" ; exceptMethods" ; :[ " ; render" ; ," ; getInitialState" ; ," ; getDefaultProps" ; ," ; getChildContext" ; ," ; componentWillMount" ; ," ; componentDidMount" ; ," ; componentWillReceiveProps" ; ," ; shouldComponentUpdate" ; ," ; componentWillUpdate" ; ," ; componentDidUpdate" ; ," ; componentWillUnmount" ; ] }</ins >]
119+ -
120+ [for-direction](http://eslint.org/docs/rules/for-direction.html)
121+ - [ <ins >" ; off" ; </ins >]
113122-
114123 [func-call-spacing](http://eslint.org/docs/rules/func-call-spacing.html)
115124 - [ <ins >" ; error" ; </ins >, <ins >" ; never" ; </ins >]
116125-
117126 [func-name-matching](http://eslint.org/docs/rules/func-name-matching.html)
118127 - [ <ins >" ; off" ; </ins >, <ins >" ; always" ; </ins >, <ins >{" ; includeCommonJSModuleExports" ; : false }</ins >]
128+ -
129+ [getter-return](http://eslint.org/docs/rules/getter-return.html)
130+ - [ <ins >" ; off" ; </ins >, <ins >{" ; allowImplicit" ; : true }</ins >]
119131-
120132 [global-require](http://eslint.org/docs/rules/global-require.html)
121133 - [ <ins >" ; error" ; </ins >]
@@ -144,6 +156,8 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
144156 - [ <ins >" ; error" ; </ins >]
145157- import/no-amd
146158 - [ <ins >" ; error" ; </ins >]
159+ - import/no-anonymous-default-export
160+ - [ <ins >" ; off" ; </ins >, <ins >{" ; allowArray" ; : false ," ; allowArrowFunction" ; : false ," ; allowAnonymousClass" ; : false ," ; allowAnonymousFunction" ; : false ," ; allowLiteral" ; : false ," ; allowObject" ; : false }</ins >]
147161- import/no-commonjs
148162 - [ <ins >" ; off" ; </ins >]
149163- import/no-deprecated
@@ -153,7 +167,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
153167- import/no-dynamic-require
154168 - [ <ins >" ; error" ; </ins >]
155169- import/no-extraneous-dependencies
156- - [ <ins >" ; error" ; </ins >, <ins >{" ; devDependencies" ; :[ " ; test/** " ; ," ; tests/** " ; ," ; spec/** " ; ," ; ** /__ tests__ /** " ; ," ; test.js " ; ," ; test-* .js " ; ," ; ** /* .test.js " ; ," ; ** /webpack.config.js" ; ," ; ** /webpack.config.* .js" ; ," ; ** /rollup.config.js" ; ," ; ** /gulpfile.js" ; ," ; ** /gulpfile.* .js" ; ," ; ** /Gruntfile" ; ] ," ; optionalDependencies" ; : false }</ins >]
170+ - [ <ins >" ; error" ; </ins >, <ins >{" ; devDependencies" ; :[ " ; test/** " ; ," ; tests/** " ; ," ; spec/** " ; ," ; ** /__ tests__ /** " ; ," ; test.{js,jsx} " ; ," ; test-* .{js,jsx} " ; ," ; ** /* .{ test,spec}.{js,jsx} " ; ," ; ** /jest.config.js & quot ; , & quot ; ** / webpack.config.js" ; ," ; ** /webpack.config.* .js" ; ," ; ** /rollup.config.js" ; ," ; ** /rollup.config. * .js & quot ; , & quot ; ** / gulpfile.js" ; ," ; ** /gulpfile.* .js" ; ," ; ** /Gruntfile{,.js} & quot ; , & quot ; ** /protractor.conf. * .js " ; ] ," ; optionalDependencies" ; : false }</ins >]
157171- import/no-internal-modules
158172 - [ <ins >" ; off" ; </ins >, <ins >{" ; allow" ; :[ ] }</ins >]
159173- import/no-mutable-exports
@@ -252,9 +266,15 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
252266-
253267 [no-await-in-loop](http://eslint.org/docs/rules/no-await-in-loop.html)
254268 - [ <ins >" ; error" ; </ins >]
269+ -
270+ [no-buffer-constructor](http://eslint.org/docs/rules/no-buffer-constructor.html)
271+ - [ <ins >" ; off" ; </ins >]
255272-
256273 [no-case-declarations](http://eslint.org/docs/rules/no-case-declarations.html)
257274 - [ <ins >" ; error" ; </ins >]
275+ -
276+ [no-compare-neg-zero](http://eslint.org/docs/rules/no-compare-neg-zero.html)
277+ - [ <ins >" ; off" ; </ins >]
258278-
259279 [no-confusing-arrow](http://eslint.org/docs/rules/no-confusing-arrow.html)
260280 - [ <ins >" ; error" ; </ins >, <ins >{" ; allowParens" ; : true }</ins >]
@@ -299,7 +319,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
299319 - [ <ins >" ; error" ; </ins >]
300320-
301321 [no-restricted-globals](http://eslint.org/docs/rules/no-restricted-globals.html)
302- - [ <ins >" ; off" ; </ins >]
322+ - [<ins>"off"</ins>, <ins>"addEventListener"</ins>, <ins>"blur"</ins>, <ins>"close"</ins>, <ins>"closed"</ins>, <ins>"confirm"</ins>, <ins>"defaultStatus"</ins>, <ins>"event"</ins>, <ins>"external"</ins>, <ins>"defaultstatus"</ins>, <ins>"find"</ins>, <ins>"focus"</ins>, <ins>"frameElement"</ins>, <ins>"frames"</ins>, <ins>"history"</ins>, <ins>"innerHeight"</ins>, <ins>"innerWidth"</ins>, <ins>"length"</ins>, <ins>"location"</ins>, <ins>"locationbar"</ins>, <ins>"menubar"</ins>, <ins>"moveBy"</ins>, <ins>"moveTo"</ins>, <ins>"name"</ins>, <ins>"onblur"</ins>, <ins>"onerror"</ins>, <ins>"onfocus"</ins>, <ins>"onload"</ins>, <ins>"onresize"</ins>, <ins>"onunload"</ins>, <ins>"open"</ins>, <ins>"opener"</ins>, <ins>"opera"</ins>, <ins>"outerHeight"</ins>, <ins>"outerWidth"</ins>, <ins>"pageXOffset"</ins>, <ins>"pageYOffset"</ins>, <ins>"parent"</ins>, <ins>"print"</ins>, <ins>"removeEventListener"</ins>, <ins>"resizeBy"</ins>, <ins>"resizeTo"</ins>, <ins>"screen"</ins>, <ins>"screenLeft"</ins>, <ins>"screenTop"</ins>, <ins>"screenX"</ins>, <ins>"screenY"</ins>, <ins>"scroll"</ins>, <ins>"scrollbars"</ins>, <ins>"scrollBy"</ins>, <ins>"scrollTo"</ins>, <ins>"scrollX"</ins>, <ins>"scrollY"</ins>, <ins>"self"</ins>, <ins>"status"</ins>, <ins>"statusbar"</ins>, <ins>"stop"</ins>, <ins>"toolbar"</ins>, <ins>"top"</ins>]
303323-
304324 [no-restricted-imports](http://eslint.org/docs/rules/no-restricted-imports.html)
305325 - [ <ins >" ; off" ; </ins >]
@@ -308,7 +328,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
308328 - [ <ins >" ; error" ; </ins >, <ins >{" ; object" ; :" ; arguments" ; ," ; property" ; :" ; callee" ; ," ; message" ; :" ; arguments.callee is deprecated" ; }</ins >, <ins >{" ; property" ; :" ; __ defineGetter__ " ; ," ; message" ; :" ; Please use Object.defineProperty instead." ; }</ins >, <ins >{" ; property" ; :" ; __ defineSetter__ " ; ," ; message" ; :" ; Please use Object.defineProperty instead." ; }</ins >, <ins >{" ; object" ; :" ; Math" ; ," ; property" ; :" ; pow" ; ," ; message" ; :" ; Use the exponentiation operator (** ) instead." ; }</ins >]
309329-
310330 [no-restricted-syntax](http://eslint.org/docs/rules/no-restricted-syntax.html)
311- - [ <ins >" ; error" ; </ins >, <ins >" ; ForInStatement" ; </ins >, <ins >" ; ForOfStatement" ; </ins >, <ins >" ; LabeledStatement" ; </ins >, <ins >" ; WithStatement" ; </ins >]
331+ - [ <ins >" ; error" ; </ins >, <ins >{ " ; selector & quot ; : & quot ; ForInStatement" ; , & quot ; message & quot ; : & quot ; for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array. & quot ; } </ins >, <ins >{ " ; selector & quot ; : & quot ; ForOfStatement" ; , & quot ; message & quot ; : & quot ; iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations. & quot ; } </ins >, <ins >{ " ; selector & quot ; : & quot ; LabeledStatement" ; , & quot ; message & quot ; : & quot ; Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand. & quot ; } </ins >, <ins >{ " ; selector & quot ; : & quot ; WithStatement" ; , & quot ; message & quot ; : & quot ; &#x 60 ; with &#x 60 ; is disallowed in strict mode because it makes code impossible to predict and optimize. & quot ; } </ins >]
312332-
313333 [no-return-await](http://eslint.org/docs/rules/no-return-await.html)
314334 - [ <ins >" ; error" ; </ins >]
@@ -354,18 +374,24 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
354374-
355375 [no-whitespace-before-property](http://eslint.org/docs/rules/no-whitespace-before-property.html)
356376 - [ <ins >" ; error" ; </ins >]
377+ -
378+ [nonblock-statement-body-position](http://eslint.org/docs/rules/nonblock-statement-body-position.html)
379+ - [ <ins >" ; off" ; </ins >]
357380-
358381 [object-curly-newline](http://eslint.org/docs/rules/object-curly-newline.html)
359- - [ <ins >" ; off" ; </ins >, <ins >{" ; ObjectExpression" ; :{" ; minProperties" ; :0 ," ; multiline" ; : true }," ; ObjectPattern" ; :{" ; minProperties" ; :0 ," ; multiline" ; : true }}</ins >]
382+ - [ <ins >" ; off" ; </ins >, <ins >{" ; ObjectExpression" ; :{" ; minProperties" ; :3 ," ; multiline" ; : true , & quot ; consistent & quot ; : true }," ; ObjectPattern" ; :{" ; minProperties" ; :3 ," ; multiline& quot ; : true , & quot ; consistent " ; : true }}</ins >]
360383-
361384 [object-property-newline](http://eslint.org/docs/rules/object-property-newline.html)
362385 - [ <ins >" ; error" ; </ins >, <ins >{" ; allowMultiplePropertiesPerLine" ; : true }</ins >]
363386-
364387 [one-var-declaration-per-line](http://eslint.org/docs/rules/one-var-declaration-per-line.html)
365388 - [ <ins >" ; error" ; </ins >, <ins >" ; always" ; </ins >]
389+ -
390+ [padding-line-between-statements](http://eslint.org/docs/rules/padding-line-between-statements.html)
391+ - [ <ins >" ; off" ; </ins >]
366392-
367393 [prefer-destructuring](http://eslint.org/docs/rules/prefer-destructuring.html)
368- - [ <ins >" ; off" ; </ins >, <ins >{" ; array" ; : true ," ; object" ; : true }</ins >, <ins >{" ; enforceForRenamedProperties" ; : false }</ins >]
394+ - [ <ins >" ; off" ; </ins >, <ins >{" ; VariableDeclarator & quot ; :{ & quot ; array" ; : false , & quot ; object & quot ; : true } ," ; AssignmentExpression & quot ; :{ & quot ; array & quot ; : true , & quot ; object" ; : true } }</ins >, <ins >{" ; enforceForRenamedProperties" ; : false }</ins >]
369395-
370396 [prefer-numeric-literals](http://eslint.org/docs/rules/prefer-numeric-literals.html)
371397 - [ <ins >" ; error" ; </ins >]
@@ -432,12 +458,18 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
432458-
433459 [rest-spread-spacing](http://eslint.org/docs/rules/rest-spread-spacing.html)
434460 - [ <ins >" ; error" ; </ins >, <ins >" ; never" ; </ins >]
461+ -
462+ [semi-style](http://eslint.org/docs/rules/semi-style.html)
463+ - [ <ins >" ; off" ; </ins >, <ins >" ; last" ; </ins >]
435464-
436465 [sort-imports](http://eslint.org/docs/rules/sort-imports.html)
437466 - [ <ins >" ; off" ; </ins >, <ins >{" ; ignoreCase" ; : false ," ; ignoreMemberSort" ; : false ," ; memberSyntaxSortOrder" ; :[ " ; none" ; ," ; all" ; ," ; multiple" ; ," ; single" ; ] }</ins >]
438467-
439468 [sort-keys](http://eslint.org/docs/rules/sort-keys.html)
440469 - [ <ins >" ; off" ; </ins >, <ins >" ; asc" ; </ins >, <ins >{" ; caseSensitive" ; : false ," ; natural" ; : true }</ins >]
470+ -
471+ [switch-colon-spacing](http://eslint.org/docs/rules/switch-colon-spacing.html)
472+ - [ <ins >" ; off" ; </ins >, <ins >{" ; after" ; : true ," ; before" ; : false }</ins >]
441473-
442474 [symbol-description](http://eslint.org/docs/rules/symbol-description.html)
443475 - [ <ins >" ; error" ; </ins >]
@@ -591,7 +623,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
591623-
592624 [no-extra-parens](http://eslint.org/docs/rules/no-extra-parens.html)
593625 - [ <del >" ; error" ; </del >, <del >" ; functions" ; </del >]
594- - [ <ins >" ; off" ; </ins >, <ins >" ; all" ; </ins >, <ins >{" ; conditionalAssign" ; : true ," ; nestedBinaryExpressions" ; : false ," ; returnAssign" ; : false }</ins >]
626+ - [ <ins >" ; off" ; </ins >, <ins >" ; all" ; </ins >, <ins >{" ; conditionalAssign" ; : true ," ; nestedBinaryExpressions" ; : false ," ; returnAssign" ; : false , & quot ; ignoreJSX & quot ; : & quot ; all & quot ; , & quot ; enforceForArrowConditionals & quot ; : false }</ins >]
595627-
596628 [no-implicit-coercion](http://eslint.org/docs/rules/no-implicit-coercion.html)
597629 - [ " ; off" ; ]
@@ -619,7 +651,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
619651-
620652 [no-multi-spaces](http://eslint.org/docs/rules/no-multi-spaces.html)
621653 - [ <del >" ; off" ; </del >]
622- - [ <ins >" ; error" ; </ins >]
654+ - [ <ins >" ; error" ; </ins >, < ins >{}</ ins > ]
623655-
624656 [no-multiple-empty-lines](http://eslint.org/docs/rules/no-multiple-empty-lines.html)
625657 - [ " ; error" ; , <del >{" ; max" ; :2}</del >]
@@ -635,7 +667,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
635667-
636668 [no-param-reassign](http://eslint.org/docs/rules/no-param-reassign.html)
637669 - [ " ; error" ; ]
638- - [ " ; error" ; , <ins >{" ; props" ; : true }</ins >]
670+ - [ " ; error" ; , <ins >{" ; props" ; : true , & quot ; ignorePropertyModificationsFor & quot ; : [ & quot ; acc & quot ; , & quot ; e & quot ; , & quot ; ctx & quot ; , & quot ; req & quot ; , & quot ; request & quot ; , & quot ; res & quot ; , & quot ; response & quot ; , & quot ; $scope & quot ; ] }</ins >]
639671-
640672 [no-path-concat](http://eslint.org/docs/rules/no-path-concat.html)
641673 - [ <del >" ; off" ; </del >]
@@ -648,10 +680,18 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
648680 [no-regex-spaces](http://eslint.org/docs/rules/no-regex-spaces.html)
649681 - [ <del >" ; off" ; </del >]
650682 - [ <ins >" ; error" ; </ins >]
683+ -
684+ [no-return-assign](http://eslint.org/docs/rules/no-return-assign.html)
685+ - [ " ; error" ; ]
686+ - [ " ; error" ; , <ins >" ; always" ; </ins >]
651687-
652688 [no-this-before-super](http://eslint.org/docs/rules/no-this-before-super.html)
653689 - [ <del >" ; off" ; </del >]
654690 - [ <ins >" ; error" ; </ins >]
691+ -
692+ [no-trailing-spaces](http://eslint.org/docs/rules/no-trailing-spaces.html)
693+ - [ " ; error" ; ]
694+ - [ " ; error" ; , <ins >{" ; skipBlankLines" ; : false }</ins >]
655695-
656696 [no-undef](http://eslint.org/docs/rules/no-undef.html)
657697 - [ <del >" ; off" ; </del >]
@@ -663,7 +703,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
663703-
664704 [no-underscore-dangle](http://eslint.org/docs/rules/no-underscore-dangle.html)
665705 - [ <del >" ; off" ; </del >]
666- - [ <ins >" ; error" ; </ins >, <ins >{" ; allowAfterThis" ; : false }</ins >]
706+ - [ <ins >" ; error" ; </ins >, <ins >{" ; allow & quot ; : [ ] , & quot ; allowAfterThis& quot ; : false , & quot ; allowAfterSuper " ; : false }</ins >]
667707-
668708 [no-unexpected-multiline](http://eslint.org/docs/rules/no-unexpected-multiline.html)
669709 - [ <del >" ; off" ; </del >]
@@ -675,7 +715,15 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
675715-
676716 [no-unused-expressions](http://eslint.org/docs/rules/no-unused-expressions.html)
677717 - [ <del >" ; off" ; </del >]
678- - [ <ins >" ; error" ; </ins >, <ins >{" ; allowShortCircuit" ; : false ," ; allowTernary" ; : false }</ins >]
718+ - [ <ins >" ; error" ; </ins >, <ins >{" ; allowShortCircuit" ; : false ," ; allowTernary" ; : false ," ; allowTaggedTemplates" ; : false }</ins >]
719+ -
720+ [no-unused-vars](http://eslint.org/docs/rules/no-unused-vars.html)
721+ - [ " ; error" ; , <del >{" ; vars" ; :" ; local" ; ," ; args" ; :" ; after-used" ; }</del >]
722+ - [ " ; error" ; , <ins >{" ; vars" ; :" ; all" ; ," ; args" ; :" ; after-used" ; ," ; ignoreRestSiblings" ; : true }</ins >]
723+ -
724+ [no-use-before-define](http://eslint.org/docs/rules/no-use-before-define.html)
725+ - [ " ; error" ; ]
726+ - [ " ; error" ; , <ins >{" ; functions" ; : true ," ; classes" ; : true ," ; variables" ; : true }</ins >]
679727-
680728 [no-void](http://eslint.org/docs/rules/no-void.html)
681729 - [ <del >" ; off" ; </del >]
@@ -798,7 +846,7 @@ should be added to the list in [the diff task](../../tasks/docs/diffs/diffs-to-r
798846-
799847 [spaced-comment](http://eslint.org/docs/rules/spaced-comment.html)
800848 - [ " ; error" ; ]
801- - [ " ; error" ; , <ins >" ; always" ; </ins >, <ins >{" ; line" ; :{" ; exceptions" ; :[ " ; -" ; ," ; +" ; ] ," ; markers" ; :[ " ; = ; " ; ," ; !" ; ] }," ; block" ; :{" ; exceptions" ; :[ " ; -" ; ," ; +" ; ] ," ; markers" ; :[ " ; = ; " ; ," ; !" ; ] ," ; balanced" ; : false }}</ins >]
849+ - [ " ; error" ; , <ins >" ; always" ; </ins >, <ins >{" ; line" ; :{" ; exceptions" ; :[ " ; -" ; ," ; +" ; ] ," ; markers" ; :[ " ; = ; " ; ," ; !" ; ] }," ; block" ; :{" ; exceptions" ; :[ " ; -" ; ," ; +" ; ] ," ; markers" ; :[ " ; = ; " ; ," ; !" ; ] ," ; balanced" ; : true }}</ins >]
802850-
803851 [valid-typeof](http://eslint.org/docs/rules/valid-typeof.html)
804852 - [ <del >" ; off" ; </del >]
0 commit comments