Added
- Add
require-optimization
rule (#240 @EvNaverniouk) - Add
jsx-filename-extension
rule (#495 @lencioni) - Add
no-render-return-value
rule (#531 @iamdustan) - Add
no-comment-textnodes
rule (#616 @benvinegar) - Add
objectLiterals
option tojsx-curly-spacing
(#388, #211 @casesandberg @ljharb) - Add option to
self-closing-comp
to check html tags (#572 @gitim) - Add
ignore
option tono-unknown-property
rule (#631 @insin) - Add support for ES7 bind operator to
jsx-handler-names
(#630) - Add support for explicit declaration that class extends React.Component (#68 @gausie)
Fixed
- Fix
jsx-closing-bracket-location
multiline prop support (#493 @tuures) - Fix
prop-types
for props that where not assigned to the right component (#591) - Fix
display-name
when JSON style is used for defining components (#590 @gitim) - Fix
jsx-no-bind
for bind detection in render when assigned to a variable (#474 @petersendidit) - Fix
jsx-curly-spacing
for spread operator (#606 @gitim) - Fix
sort-comp
crash on spread operator (#624) - Fix
prop-types
crash when destructuring props with spread only