v7.0.0-rc.1
Pre-release
Pre-release
·
2351 commits
to master
since this release
Added
- Add
reservedFirstoption tojsx-sort-props(#1134 @MatthewHerbst)
Breaking
- Drop Node.js < 4 support (#1038 @ljharb)
- Add
no-danger-with-childrenrule to recommended rules (#748 @ljharb) - Add
no-string-refsrule to recommended rules (#749 @ljharb) - Add
jsx-keyrule to recommended rules (#750 @ljharb) - Add
jsx-no-comment-textnodesrule to recommended rules (#751 @ljharb) - Add
jsx-no-target-blankrule to recommended rules (#752 @ljharb) - Add
no-unescaped-entitiesrule to recommended rules (#841 @ljharb) - Add
no-children-proprule to recommended rules (#842 @ljharb) - Remove deprecated
wrap-multilinesrule, usejsx-wrap-multilinesinstead - Remove deprecated
no-comment-textnodesrule, usejsx-no-comment-textnodesinstead - Remove deprecated
require-extensionrule, use the eslint-plugin-importextensionsrule instead - Deprecate
jsx-space-before-closingrule, use thejsx-tag-spacingrule instead.jsx-space-before-closingstill works but will trigger a warning (#1070 @afairb) jsx-first-prop-new-linedefault is nowmultiline-multiprop(#802 @kokarn)jsx-wrap-multilinesnow checks arrow functions without block body. It can be deactivated in rule options (#790 @ColCh)jsx-no-undefwill not check the global scope by default. You can force it with theallowGlobalsoption (#1013 @jomasti)