Added
- Add
reservedFirst
option tojsx-sort-props
(#1134 @MatthewHerbst)
Breaking
- Drop Node.js < 4 support (#1038 @ljharb)
- Add
no-danger-with-children
rule to recommended rules (#748 @ljharb) - Add
no-string-refs
rule to recommended rules (#749 @ljharb) - Add
jsx-key
rule to recommended rules (#750 @ljharb) - Add
jsx-no-comment-textnodes
rule to recommended rules (#751 @ljharb) - Add
jsx-no-target-blank
rule to recommended rules (#752 @ljharb) - Add
no-unescaped-entities
rule to recommended rules (#841 @ljharb) - Add
no-children-prop
rule to recommended rules (#842 @ljharb) - Remove deprecated
wrap-multilines
rule, usejsx-wrap-multilines
instead - Remove deprecated
no-comment-textnodes
rule, usejsx-no-comment-textnodes
instead - Remove deprecated
require-extension
rule, use the eslint-plugin-importextensions
rule instead - Deprecate
jsx-space-before-closing
rule, use thejsx-tag-spacing
rule instead.jsx-space-before-closing
still works but will trigger a warning (#1070 @afairb) jsx-first-prop-new-line
default is nowmultiline-multiprop
(#802 @kokarn)jsx-wrap-multilines
now checks arrow functions without block body. It can be deactivated in rule options (#790 @ColCh)jsx-no-undef
will not check the global scope by default. You can force it with theallowGlobals
option (#1013 @jomasti)