v7.5.0
Added
- Add
jsx-one-expression-per-linerule (#1497 @TSMMark) - Add
destructuring-assignmentrule (#1462 @DianaSuvorova) - Add
no-access-state-in-setstaterule (#1374 @jaaberg) - Add
button-has-typerule (#1525 @Hypnosphi) - Add warnings for
React.DOMfactories inno-deprecated(#1530 @backjo) - Add
sortShapePropoption tosort-prop-types(#1476 @jomasti) - Add
parens-new-lineoption tojsx-wrap-multilines(#1475 @jomasti) - Add
checkContextTypesandcheckChildContextTypesoptions toforbid-prop-types(#1533 @jomasti) - Add
forbidDefaultForRequiredoption torequire-default-props(#1524 @jomasti) - Add new nodes support to
jsx-wrap-multilines(#1384 @evgeny-petukhov)
Fixed
- Fix
jsx-curly-brace-presenceauto fix by bailing out when some chars exist (#1479 #1449 @jackyho112) - Fix
boolean-prop-namingcrash with Object spread (#1485 @track0x1) - Fix
no-unused-stateto correctly handle arrow function class method (#1363 @jackyho112) - Fix incompatibility with
typescript-eslint-parser(#1496 @timothykang) - Fix
jsx-no-bindto only warn for props and account for variable declaration (#1444 #1395 #1417 @jackyho112) - Fix
no-props-unused-propsto handle props usage in custom prop validators (#1518 @petersendidit) - Fix
prefer-stateless-functionto account forcontextTypesanddefaultProps(#1521 @jomasti) - Fix
jsx-no-comment-textnodesto not warn when using two slashes via html entities at the beginning of a literal (#1517 @jomasti) - Fix
default-props-match-prop-typescrash (#1499 @jomasti) - Fix
no-unused-prop-typesto handle props used in thesetStateupdate callback (#1507 @petersendidit) - Fix alignment bug in
jsx-indent(#1246 @jseminck)