Added
- Add
no-unused-state
rule (#1103 @wbinnssmith) - Add
boolean-prop-naming
rule (#1264 @EvHaus) - Add
no-typos
rule (#1189 @jseminck, #1294 @haridusenadeera) - Add auto fix for
sort-props
(#1273 @Overload119) - Add
getters
andsetters
groups tosort-comp
(#100 @RDGthree) - Add
noStrings
option tono-literals
(#1202 @deecewan) - Add inverse option for
always
/never
tojsx-boolean-value
(#1249 @ljharb)
Fixed
- Fix
no-direct-mutation-state
to disallowthis.state
mutation in constructor (#832 @burabure) - Fix
jsx-no-target-blank
crash on emptyrel
attribute (#1269 @dustinsoftware) - Fix
sort-comp
component detection withClassExpression
(#1076 @webOS101) - Fix
no-unused-prop-types
detection with async class properties and methods (#1053 @benstepp) - Fix
void-dom-elements-no-children
crash (#1226 @kokobeware) - Fix
no-danger-with-children
to ignore line breaks (#1262) - Fix
no-danger-with-children
crash with undefined (#1287) - Fix
jsx-no-target-blank
crash (#1296 @jseminck) - Fix
no-unused-props
to no longer ignore components with no used props (#1303 @DianaSuvorova) - Fix
jsx-no-duplicate-props
crash (#969 @marcelmokos) - Fix
no-literals
false positives (#1301 @davidyorr) - Fix
no-find-dom-node
detection with named imports (#785 @Hypnosphi) - Fix proTypes-related rules detection with wrapped propTypes (#1266 @dustinsoftware)
- Fix
no-unused-prop-types
detection with propTypes wrapped in a function (#1253 @dustinsoftware) - Fix
no-unused-prop-types
detection with destructured use of properties (#816 @DianaSuvorova) - Fix
no-unused-prop-types
detection with inline functions (#1309 @DianaSuvorova) - Fix
no-unused-prop-types
skipShapeProps
option with Flow annotations (#1335 @DianaSuvorova) - Fix
jsx-curly-spacing
schema incompatibility with ESLint 4.2.0 (#1290 @jseminck)