v7.2.0
Added
- Add
no-unused-staterule (#1103 @wbinnssmith) - Add
boolean-prop-namingrule (#1264 @EvHaus) - Add
no-typosrule (#1189 @jseminck, #1294 @haridusenadeera) - Add auto fix for
sort-props(#1273 @Overload119) - Add
gettersandsettersgroups tosort-comp(#100 @RDGthree) - Add
noStringsoption tono-literals(#1202 @deecewan) - Add inverse option for
always/nevertojsx-boolean-value(#1249 @ljharb)
Fixed
- Fix
no-direct-mutation-stateto disallowthis.statemutation in constructor (#832 @burabure) - Fix
jsx-no-target-blankcrash on emptyrelattribute (#1269 @dustinsoftware) - Fix
sort-compcomponent detection withClassExpression(#1076 @webOS101) - Fix
no-unused-prop-typesdetection with async class properties and methods (#1053 @benstepp) - Fix
void-dom-elements-no-childrencrash (#1226 @kokobeware) - Fix
no-danger-with-childrento ignore line breaks (#1262) - Fix
no-danger-with-childrencrash with undefined (#1287) - Fix
jsx-no-target-blankcrash (#1296 @jseminck) - Fix
no-unused-propsto no longer ignore components with no used props (#1303 @DianaSuvorova) - Fix
jsx-no-duplicate-propscrash (#969 @marcelmokos) - Fix
no-literalsfalse positives (#1301 @davidyorr) - Fix
no-find-dom-nodedetection with named imports (#785 @Hypnosphi) - Fix proTypes-related rules detection with wrapped propTypes (#1266 @dustinsoftware)
- Fix
no-unused-prop-typesdetection with propTypes wrapped in a function (#1253 @dustinsoftware) - Fix
no-unused-prop-typesdetection with destructured use of properties (#816 @DianaSuvorova) - Fix
no-unused-prop-typesdetection with inline functions (#1309 @DianaSuvorova) - Fix
no-unused-prop-typesskipShapePropsoption with Flow annotations (#1335 @DianaSuvorova) - Fix
jsx-curly-spacingschema incompatibility with ESLint 4.2.0 (#1290 @jseminck)