Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-plugin-react from 7.6.1 to 7.20.6 #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps eslint-plugin-react from 7.6.1 to 7.20.6.

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.6 - 2020.08.12

Fixed

  • [jsx-curly-brace-presence]: fix multiline comment case (#2716[] @ljharb)
  • [jsx-no-useless-fragment]: accept fragments with call expressions (#2744[] @hasparus)
  • [jsx-no-literals] with allowStrings doesn't work in props (#2736[] @karolina-benitez)
  • [no-find-dom-node]: Improve error message (#2741[] @ecraig12345)
  • [no-typos]/[no-unused-prop-types]/propType detection: Support typescript props interface extension and TSTypeAliasDeclaration (#2721[] @hank121314)
  • [no-this-in-sfc]/component detection: add arrow function to list of allowed position for component (#2708[] @jzabala)
  • [no-access-state-in-setstate]: add check for class component (#2711[] @jzabala)
  • [prop-types]/component detection: avoid a crash when a local createElement identifier exists (#2733[] @ljharb)

Changed

  • [no-unused-prop-types]: add test assigning this.props to a variable

#2744: yannickcr/eslint-plugin-react#2744 #2741: yannickcr/eslint-plugin-react#2741 #2737: yannickcr/eslint-plugin-react#2737 #2736: yannickcr/eslint-plugin-react#2736 #2733: yannickcr/eslint-plugin-react#2733 #2721: yannickcr/eslint-plugin-react#2721 #2716: yannickcr/eslint-plugin-react#2716 #2711: yannickcr/eslint-plugin-react#2711 #2708: yannickcr/eslint-plugin-react#2708

7.20.5 - 2020.07.28

Fixed

Docs

#2731: yannickcr/eslint-plugin-react#2731 #2730: yannickcr/eslint-plugin-react#2730 #2724: yannickcr/eslint-plugin-react#2724 #2712: yannickcr/eslint-plugin-react#2712 #2710: yannickcr/eslint-plugin-react#2710

[7.20.4] - 2020.07.26

Fixed

  • improve algorithm to check if a variable is coming from the pragma (#2706[] @jzabala)
  • [prop-types]: handle component returning null (#2696[] @hank121314)
  • [prop-types]/[function-component-definition]: Add check for first letter capitalization in functional component detection (#2699[] @jzabala)
  • [prop-types]: use variable value in prop type fields defined by variables (#2704[] @jzabala)
Commits
  • a43f70a Update CHANGELOG and bump version
  • bac0ec3 [Fix] jsx-curly-brace-presence: fix multiline comment case
  • a77c0d1 [Fix] jsx-no-useless-fragment: accept fragments with call expressions
  • de268ec [Fix] jsx-no-literals with allowStrings doesn't work in props
  • 9abc71d [Fix] no-find-dom-node: Improve error message
  • 5a00096 [Test] no-unused-prop-types: add test assigning this.props to a variable
  • 90d2cdf [Fix] no-typos/no-unused-prop-types/propType detection: Support typescrip...
  • bcfdbd5 [Fix] no-this-in-sfc/component detection: add arrow function to list of all...
  • 7227571 [Fix] no-access-state-in-setstate: add check for class component
  • 8466625 [Fix] prop-types/component detection: avoid a crash when a local `createEle...
  • 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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 Aug 13, 2020
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
0 participants