Update eslint-plugin-react in / from 7.4.0 to 7.11.1 #249
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.11.1".7.11.1
Fixed
Changed
7.11.0
Added
jsx-one-expression-per-line: add "allow" option (#1924, alexzherdev)sort-prop-types: add autofix (#1891, finnp)jsx-no-bind: Add ignoreDOMComponents option (#1868, alexzherdev)Fixed
destructuring-assignment: Ignore class properties (#1909, alexzherdev)destructuring-assignment, component detection: ignore components with confidence = 0 (#1907, alexzherdev)boolean-prop-naming: Handle inline Flow type (#1905, alexzherdev)jsx-props-no-multi-spaces: Handle member expressions (#1890, alexzherdev)sort-comp: Allow methods to belong to any matching group (#1858, nosilleg)jsx-sort-props: FixreservedFirst(#1883, fleischie)prop-types: (flow) Stop crashing on undefined or null properties (#1860, nicholas-l)no-unknown-property: Make attribute "charset" valid (#1863, silvenon)no-deprecated: report identifier AST node instead of the class node (#1854, jsnajdr)button-has-type: Account for pragma (#1851, alexzherdev)button-has-type: improve error message when an identifier is used as the value (#1874, ljharb)Changed
no-unused-state: combine spread visitors (ljharb)jsx-one-expression-per-line: Fix JSX Syntax in docs (#1867, peter-mouland)jsx-max-depth,jsx-sort-default-props: add missing docs urls (#1880, flyerhzm)jsx-indent: add test cases (#1892, alexzherdev)prop-types: add test cases (#1898, alexzherdev)jsx-props-no-multi-spaces: update docs (#1918, BenRichter)7.10.0
Added
no-unsaferule (#1831, #1830 sergei-startsev)no-will-update-set-state: Account forUNSAFE_methods (#1845, #1844 alexzherdev)Fixed
no-typos: Fix static propTypes handling (#1827, #1677 alexzherdev)destructuring-assignment: Allow LHS (#1825, #1728 alexzherdev)no-unused-prop-types: Fix crash when encountering mixed union and intersection flow types (#1806 yannickcr)Changed
jsx-no-target-blank(#1805 ferhatelmas))7.9.1
Nothing was fixed; this is a republish with some updated deps. (#1804 ljharb)
7.9.0
Added
jsx-props-no-multi-spacesrule (#1755 ThiefMaster)firstoption tojsx-indent-props(#398 ThiefMaster)enforceDynamicLinksoption tojsx-no-target-blank(#1737 kenearley)Fixed
sort-comp(#1793 lynxtaa)no-typoswhen encountering anonymous react imports (#1796 jsg2021)Changed
7.8.2
Fixed
boolean-prop-namingwhen encountering a required shape prop type (#1791 pcorpet)7.8.1
Fixed
no-deprecatedwhen encountering a class constructor (#1785 taddei)7.8.0
Added
react-in-jsx-scope(#1758)require-default-props(#1724 Miziak)forbid-component-props(#1732 ThiefMaster)no-unused-prop-types(#1681 bvaughn)sort-comp(#1767 joe-denea)no-typosprevStateandnextStatetono-unused-state(#1759)componentWillMount,componentWillReceivePropsandcomponentWillUpdatelifecycle methods inno-deprecated(#1750 sergei-startsev)Fixed
no-typosfalse positive on customPropTypeclasses (#1389 brettdh)boolean-prop-namingto handle required props (#1389 louisscruz)jsx-curly-brace-presenceto allow whitespace JSX container (#1717 sharmilajesupaul)jsx-no-bindto handle ternary conditions (#1722 gwenaellarmet)Changed