Update dependency eslint-plugin-react to v6.10.3 #10770
Merged
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.
This PR contains the following updates:
6.4.1
->6.10.3
Release Notes
yannickcr/eslint-plugin-react
v6.10.3
Compare Source
Fixed
jsx-indent
][] (#1117)v6.10.2
Compare Source
Fixed
jsx-indent
][] indentation calculation with nested JSX (#1117)v6.10.1
Compare Source
Fixed
jsx-indent
][] auto fix with tabs (#1057 @kentcdodds @webOS101)jsx-indent
][] crash (#1061 @iancmyers)void-dom-elements-no-children
][] crash and fix it to only checks for a createElement call fromReact (#1073 @jomasti)
no-multi-comp
][] (#1088 @benstepp)v6.10.0
Compare Source
Added
forbid-foreign-prop-types
][] rule (#696 @iancmyers)void-dom-elements-no-children
][] rule (#709 @lencioni)forbid-elements
][] rule (#887 @kentor)noSortAlphabetically
option to [jsx-sort-props
][] (#541 #786 @markus101)when
option to [jsx-max-props-per-line
][] (#878 @kentor)nextProps
to [prop-types
][] (#814)Fixed
require-default-props
][] crash (#1029)require-default-props
][] rule when using Flow type from assignment (#1043 @wyze @CarlRosell)style-prop-object
][] to not warn with explicitnull
orundefined
(#812 @ljharb)no-unused-prop-types
][] props detection in stateless components (#885 @BarryThePenguin)display-name
] false positive withdocument.createElement
(#996 @jomasti)Changed
v6.9.0
Compare Source
Added
sort-prop-types
][] (#622)Fixed
prop-types
][] to correctly assign props to components (#991)Changed
v6.8.0
Compare Source
Added
no-array-index-key
][] rule (#978 @lencioni)require-default-props
][] rule (#528 @vitorbal)prop-types
][] (#961 @ajhyndman)Fixed
jsx-indent
][] with multiline jsx in ternaries (#966)jsx-curly-spacing
][] autofix to not delete comments (#648)eslint-plugin-react
in exported configurations (#984 @jamischarles)Changed
v6.7.1
Compare Source
Fixed
jsx-tag-spacing
][] crash when options object isn't passed (#955 @daltones)v6.7.0
Compare Source
Added
jsx-tag-spacing
][] rule (#693 @Kovensky)Fixed
jsx-indent
][] for parenthesized ternaries (#945 @voxpelli)jsx-indent
][] for multiline ternariesjsx-indent
][] for arrays in jsx (#947)no-danger-with-children
][] crash with spread on global variables (#921)jsx-wrap-multilines
][] ternaries handling (#916)Changed
no-unused-prop-types
][]skipShapeProps
option by default to limit false positive (#953 @everdimension)v6.6.0
Compare Source
Added
jsx-first-prop-new-line
][] auto fix (#886 @snowypowers)Fixed
no-unused-prop-types
][] crash with destructured prop-types (#938)jsx-indent
][] in multi-line conditional expressions (#901, #907)sort-comp
][] bad error message if 2 methods in the same group must be moved (#507)Changed
v6.5.0
Compare Source
Added
jsx-closing-bracket-location
][] auto fixer (#909 @arperry)jsx-indent
][] auto fixer (#608 @jayphelps)multiline-multiprop
option to [jsx-first-prop-new-line
][] (#883 @kentor)Fixed
forbid-component-props
][] crash with self reference JSX element (#839 @xeodou)jsx-indent
][] to ignore lines starting by literals (#900)no-set-state
][] to correctly detectsetState
in arrow functions (#931)Changed
deprecated
metadata to deprecated rules (#911 @randycoulman)eslint-plugin-react
in exported configurations (#925 @MoOx)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.