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.19.0 to 7.22.0 #15

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps eslint-plugin-react from 7.19.0 to 7.22.0.

Release notes

Sourced from eslint-plugin-react's releases.

v7.21.5

No release notes provided.

v7.21.4

No release notes provided.

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

Changelog

Sourced from eslint-plugin-react's changelog.

7.22.0 - 2020.12.29

Added

  • [jsx-key]: added checkKeyMustBeforeSpread option for new jsx transform (#2835[] @morlay)
  • [jsx-newline]: add new rule (#2693[] @jzabala)
  • [jsx-no-constructed-context-values]: add new rule which checks when the value passed to a Context Provider will cause needless rerenders (#2763[] @dylanOshima)
  • [jsx-indent-props]: add ignoreTernaryOperator option (#2846[] @SebastianZimmer)
  • [jsx-no-target-blank]: Add warnOnSpreadAttributes option (#2855[] @michael-yx-wu)

Fixed

  • [display-name]/component detection: avoid a crash on anonymous components (#2840[] @ljharb)
  • [prop-types]: function in class that returns a component causes false warning in typescript (#2843[] @SyMind)
  • [jsx-no-target-blank]: avoid a crash with a non-string literal (#2851[] @ljharb)
  • [jsx-no-script-url]: avoid crash with boolean href (#2871[] @ljharb, @AriPerkkio)
  • [no-typos]: avoid crash with computed method name (#2870[] @ljharb, @AriPerkkio)
  • [jsx-max-depth]: avoid crash with childless jsx child (#2869[] @ljharb, @AriPerkkio)
  • [jsx-wrap-multilines]: fix crash with declarations that are on a new line after = (#2875[] @ljharb)
  • [no-unknown-property]: avoid crash with prop named with Object.prototype key (#2879[] @ljharb, @AriPerkkio)
  • [prop-types]: default argument does not count as props-types declaration (#2877[] @golopot)
  • [jsx-props-no-multi-spaces]: fix a false positive for beside comments (#2878[] @golopot)
  • [jsx-no-undef]: handle the TS parser combined with an invalid ecmaVersion (#2882[] @ljharb)
  • [no-unused-prop-types]: apply skipShapeProps to exact types (#2883[] @golopot)
  • [no-danger-with-children]/[style-prop-object]/[no-adjacent-inline-elements]: add category, URL (#2891[] @thofmann)

Docs

#2891: yannickcr/eslint-plugin-react#2891 #2883: yannickcr/eslint-plugin-react#2883 #2882: yannickcr/eslint-plugin-react#2882 #2881: yannickcr/eslint-plugin-react#2881 #2879: yannickcr/eslint-plugin-react#2879 #2878: yannickcr/eslint-plugin-react#2878 #2877: yannickcr/eslint-plugin-react#2877 #2875: yannickcr/eslint-plugin-react#2875 #2871: yannickcr/eslint-plugin-react#2871 #2870: yannickcr/eslint-plugin-react#2870 #2869: yannickcr/eslint-plugin-react#2869 #2855: yannickcr/eslint-plugin-react#2855 #2852: yannickcr/eslint-plugin-react#2852 #2851: yannickcr/eslint-plugin-react#2851 #2846: yannickcr/eslint-plugin-react#2846 #2843: yannickcr/eslint-plugin-react#2843 #2840: yannickcr/eslint-plugin-react#2840 #2835: yannickcr/eslint-plugin-react#2835 #2763: yannickcr/eslint-plugin-react#2763 #2693: yannickcr/eslint-plugin-react#2693

Commits
  • e2eaada Update CHANGELOG and bump version
  • 77e1b35 [Fix] no-danger-with-children/style-prop-object/`no-adjacent-inline-eleme...
  • a137a04 [Tests] clean up some test cases
  • 9e4bbd0 [Fix] no-unused-prop-types: apply skipShapeProps to exact types
  • 7aaa1cf [meta] fix changelog entry
  • c4ecce9 [New] jsx-no-target-blank: Add warnOnSpreadAttributes option
  • 66593e5 [New] jsx-indent-props: add ignoreTernaryOperator option
  • 816e344 [Fix] jsx-no-undef: handle the TS parser combined with an invalid ecmaVersion
  • b85b8fc [Tests] add readme tests I forgot in #2887
  • 8ef839a [Tests] migrate tests to Github Actions
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 Jan 7, 2021
@vercel
Copy link

vercel bot commented Jan 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/alissonsleal/consulta-placa/hazvolvd6
✅ Preview: https://consulta-placa-git-dependabot-npmandyarneslint-plugin-re-efe719.alissonsleal.vercel.app

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.

0 participants