Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps eslint-plugin-react from 7.18.3 to 7.20.2.

Release notes

Sourced from eslint-plugin-react's releases.

v7.20.0

Added

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][]: allow no-referrer without noopener 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

  • Clean up examples in rule docs (#2546[] @silvenon)
  • [readme] Add Rules of Hooks to Other useful plugins section (#2633[] @petetnt)
  • [no-this-in-sfc][]: backtick this (#2616[] @mrflip)
  • [function-component-definition][]: Fix unnamedComponents option examples (#2608[] @vkrol))

Changed

  • [Deps] Move "semver" to devDependencies (#2595[] @rajivshah3)
  • [eslint] remove operator-linebreak override (#2578[] @golopot)
  • [Tests] button-has-type: ensure no mistakenly allowed identifiers named button/submit/reset (#2625[] @golopot)
  • [Tests] displayName: add a test case (#2593[] @golopot)
  • [Dev Deps] update @types/eslint, @types/estree, @types/node, @typescript-eslint/parser, coveralls, eslint-config-airbnb-base, eslint-plugin-import, typescript

#2638: yannickcr/eslint-plugin-react#2638 #2635: yannickcr/eslint-plugin-react#2635 #2633: yannickcr/eslint-plugin-react#2633 #2625: yannickcr/eslint-plugin-react#2625 #2621: yannickcr/eslint-plugin-react#2621 #2616: yannickcr/eslint-plugin-react#2616 #2615: yannickcr/eslint-plugin-react#2615 #2610: yannickcr/eslint-plugin-react#2610 #2608: yannickcr/eslint-plugin-react#2608 #2606: yannickcr/eslint-plugin-react#2606 #2604: yannickcr/eslint-plugin-react#2604 #2601: yannickcr/eslint-plugin-react#2601 #2595: yannickcr/eslint-plugin-react#2595 #2593: yannickcr/eslint-plugin-react#2593 #2588: yannickcr/eslint-plugin-react#2588 #2587: yannickcr/eslint-plugin-react#2587

Changelog

Sourced from eslint-plugin-react's changelog.

7.20.2 - 2020-06-29

Fixed

  • [Fix] [no-unused-prop-types]: handle optional chaining (#2679[] @hank121314)
  • [Fix] [jsx-pascal-case]: fix a false positive with "H1" (#2683[] @ljharb)
  • [Fix] [jsx-no-useless-fragment]: avoid a crash when autofixing a self-closing React.Fragment (#2680[] @ljharb)
  • [Fix] [forbid-prop-types]: avoid crash (#2682[] @ljharb)

#2683: yannickcr/eslint-plugin-react#2683 #2682: yannickcr/eslint-plugin-react#2682 #2680: yannickcr/eslint-plugin-react#2680 #2679: yannickcr/eslint-plugin-react#2679

7.20.1 - 2020-06-28

Fixed

  • [forbid-dom-props], [function-component-definition]: fix schema typos (#2667[] @mflorence99)
  • [no-unused-prop-types]: fix with typescript eslint parser (#2661[] @eltonio450)

Changed

  • [forbid-prop-types]: warn on destructured values as well (#2676[] @ajkovar)
  • relax JSX pragma regexp (#2643[] @gfmio)
  • Cache detected React version (#2673[] @lencioni)
  • [refactor] [jsx-pascal-case]: Remove xregexp (#2636[] @yacinehmito))
  • [Tests] a [no-typos] test fails in eslint v7.3 (#2678[] @toshi-toma)
  • [Deps] update jsx-ast-utils, object.entries, resolve
  • [Dev Deps] update @types/eslint, @types/estree, @types/node, @typescript-eslint/parser, eslint-config-airbnb-base, eslint-plugin-eslint-plugin, eslint-plugin-import, typescript

#2676: yannickcr/eslint-plugin-react#2676 #2673: yannickcr/eslint-plugin-react#2673 #2667: yannickcr/eslint-plugin-react#2667 #2661: yannickcr/eslint-plugin-react#2661 #2643: yannickcr/eslint-plugin-react#2643 #2636: yannickcr/eslint-plugin-react#2636

[7.20.0] - 2020-05-12

Added

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)
Commits
  • 2db0080 Update CHANGELOG and bump version
  • 85e40aa [Fix] no-unused-prop-types: handle optional chaining
  • c65b79e [Fix] jsx-pascal-case: fix a false positive with "H1"
  • d2a131a [Fix] jsx-no-useless-fragment: avoid a crash when autofixing a self-closing...
  • a9d2621 [Fix] forbid-prop-types: avoid crash
  • f5405f7 Update CHANGELOG and bump version
  • 46cf771 [Dev Deps] update @types/eslint, @types/estree, @types/node, `eslint-pl...
  • 997a99f [Fix] forbid-prop-types: warn on destructured values as well
  • a4025bd [Tests] a no-typos test fails in eslint v7.3
  • b8e91a5 Cache detected React version
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 30, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 76.492% when pulling 7580916 on dependabot/npm_and_yarn/eslint-plugin-react-7.20.2 into 1c1ed8c on master.

@dependabot-preview
Copy link
Contributor Author

Superseded by #750.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/eslint-plugin-react-7.20.2 branch July 1, 2020 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant