Update dependency eslint-plugin-react to v7.20.0 #30
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:
7.18.0
->7.20.0
Release Notes
yannickcr/eslint-plugin-react
v7.20.0
Compare Source
Added
forbid-component-props
][]/[forbid-dom-props
][]: Allow a custom message with forbid props (#2615 @mtamhankar1)jsx-no-literals
][]: addignoreProps
option to ignore props validation (#2146 @iiison)Fixed
jsx-sort-props
][]: only use localeCompare when case is ignored (#2556 @tanmoyopenroot)jsx-key
][]: add a failing test case for optional chaining (#2610 @JonathanLee-LX)no-unused-state
][]: handle optional chaining (#2588 @golopot)jsx-pascal-case
][]: Do not consider namespaces when checking for DOM (#2638 @yacinehmito)jsx-curly-spacing
][], [jsx-no-bind
][],usedPropTypes
util: avoid node.start and node.end (25b1936 @toshi-toma)jsx-no-target-blank
][]: allowno-referrer
withoutnoopener
by default (#2043 @seancrater)button-has-type
][]: improve message when non-static value is used (aecff62 @golopot)no-adjacent-inline-elements
][]: prevent crash on nullish children (#2621 @Rogdham)prop-types
][]: avoid crash when spreading any type (#2606 @golopot))require-render-return
][]: add missing "a" (#2604 @leothorp)jsx-no-comment-textnodes
][]: fix for@typescript-eslint/parser
(#2601 @Axnyff)displayName
][]: avoid a crash when using React.memo (#2587 @golopot)Docs
no-this-in-sfc
][]: backtickthis
(#2616 @mrflip)function-component-definition
][]: Fix unnamedComponents option examples (#2608 @vkrol))Changed
operator-linebreak
override (#2578 @golopot)button-has-type
: ensure no mistakenly allowed identifiers namedbutton
/submit
/reset
(#2625 @golopot)displayName
: add a test case (#2593 @golopot)@types/eslint
,@types/estree
,@types/node
,@typescript-eslint/parser
,coveralls
,eslint-config-airbnb-base
,eslint-plugin-import
,typescript
v7.19.0
Compare Source
Added
style-prop-object
][]: Addallow
option (#1819 @hornta)jsx-pascal-case
][]: Support unicode characters (#2557 @Svish)Fixed
prefer-stateless-function
][]: avoid crash on ts empty constructor (#2582 @golopot)no-adjacent-inline-elements
][]: avoid a crash (#2575 @ljharb)no-unused-prop-types
][]: Change the reporting to point to a more accurate node (#2292 @jseminck)self-closing-comp
][]: consider JSXMemberExpression as component too (#2572 @Belco90)no-unused-prop-types
][]: makemarkPropTypesAsUsed
work withTSEmptyBodyFunctionExpression
AST node (#2560 @guillaumewuip)displayName
][] (but really,propTypes
detection): do not crash on empty flow type spreads (#2570 @ljharb)Changed
react/
prefix to rule name, for consistencyno-unescaped-entities
][]: skip test cases that are now parsing errors in acorn-jsx@5.2.0 (#2583 @golopot)v7.18.3
Compare Source
Fixed
jsx-indent
][]: don't check literals not within JSX (#2564 @toshi-toma)v7.18.2
Compare Source
Fixed
jsx-indent
][]: avoid a crash on non-string literals (#2561 @ljharb)v7.18.1
Compare Source
Fixed
jsx-indent
][]: Does not check indents for JSXText (#2542 @toshi-toma)jsx-props-no-spreading
][]: add support for namespaced jsx components (#2534 @jonathanpalma)jsx-no-target-blank
][]: allow rel to be an expression (#2544 @odinho)sort-comp
][]:|
isn’t a valid regex flag;u
ands
are (@ljharb)Changed
markdown-magic
to automatically sort all rules alphabetically (#1742 @ybiquitous)jsx-props-no-spreading
][]: fix typo to use correct rule (#2547 @jonggyun))Renovate configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.