Update eslint-plugin-react in / from 7.4.0 to 7.5.1 #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies.io has updated
eslint-plugin-react(a npm dependency in/) from "7.4.0" to "7.5.1".7.5.1
Fixed
jsx-no-bindcrash (#1543 jomasti)no-unused-prop-typescrash (#1542 jomasti)Changed
7.5.0
Added
jsx-one-expression-per-linerule (#1497 TSMMark)destructuring-assignmentrule (#1462 DianaSuvorova)no-access-state-in-setstaterule (#1374 jaaberg)button-has-typerule (#1525 Hypnosphi)React.DOMfactories inno-deprecated(#1530 backjo)sortShapePropoption tosort-prop-types(#1476 jomasti)parens-new-lineoption tojsx-wrap-multilines(#1475 jomasti)checkContextTypesandcheckChildContextTypesoptions toforbid-prop-types(#1533 jomasti)forbidDefaultForRequiredoption torequire-default-props(#1524 jomasti)jsx-wrap-multilines(#1384 evgeny-petukhov)Fixed
jsx-curly-brace-presenceauto fix by bailing out when some chars exist (#1479 #1449 jackyho112)boolean-prop-namingcrash with Object spread (#1485 track0x1)no-unused-stateto correctly handle arrow function class method (#1363 jackyho112)typescript-eslint-parser(#1496 timothykang)jsx-no-bindto only warn for props and account for variable declaration (#1444 #1395 #1417 jackyho112)no-props-unused-propsto handle props usage in custom prop validators (#1518 petersendidit)prefer-stateless-functionto account forcontextTypesanddefaultProps(#1521 jomasti)jsx-no-comment-textnodesto not warn when using two slashes via html entities at the beginning of a literal (#1517 jomasti)default-props-match-prop-typescrash (#1499 jomasti)no-unused-prop-typesto handle props used in thesetStateupdate callback (#1507 petersendidit)jsx-indent(#1246 jseminck)Changed