schibsted / eslint-config-schibsted

eslint configurations from Schibsted engineers
9 stars 8 forks source link

Bump eslint-plugin-react from 7.19.0 to 7.23.1 #260

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps eslint-plugin-react from 7.19.0 to 7.23.1.

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

... (truncated)

Changelog

Sourced from eslint-plugin-react's changelog.

7.23.1 - 2021.03.23

Fixed

  • version detection: support processor virtual filename (#2949[] @JounQin)

#2949: yannickcr/eslint-plugin-react#2949

7.23.0 - 2021.03.22

Added

  • [jsx-no-target-blank]: add fixer (#2862[] @Nokel81)
  • [jsx-pascal-case]: support minimatch ignore option (#2906[] @bcherny)
  • [jsx-pascal-case]: support allowNamespace option (#2917[] @kev-y-huang)
  • [jsx-newline]: Add prevent option (#2935[] @jsphstls)
  • [no-unstable-nested-components]: Prevent creating unstable components inside components (#2750[] @AriPerkkio)
  • added jsx-runtime config, for the modern JSX runtime transform (@ljharb)

Fixed

  • [jsx-no-constructed-context-values]: avoid a crash with as X TS code (#2894[] @ljharb)
  • [jsx-no-constructed-context-values]: avoid a crash with boolean shorthand (#2895[] @ljharb)
  • [static-property-placement]: do not report non-components (#2893[] @golopot)
  • [no-array-index-key]: support optional chaining (#2897[] @SyMind)
  • [no-typos]: avoid a crash on bindingless prop-types import; add warning (#2899[] @ljharb)
  • [jsx-curly-brace-presence]: ignore containers with comments (#2900[] @golopot)
  • [destructuring-assignment]: fix a false positive for local prop named context in SFC (#2929[] @SyMind)
  • [jsx-no-target-blank]: Allow rel="noreferrer" when allowReferrer is true (#2925[] @edemaine)
  • [boolean-prop-naming]: add check for typescript "boolean" type (#2930[] @vedadeepta)
  • version detection: Add tests that verify versioning works for sibling and child projects (#2943[] @jcrosetto)
  • [jsx-curly-newline]: Update error messages (#2933[] @jbrower2)

Changed

  • [Docs] [jsx-no-constructed-context-values][]: fix invalid example syntax (#2910[] @kud)
  • [readme] Replace lists of rules with tables in readme (#2908[] @motato1)
  • [Docs] added missing curly braces (#2923[] @Muditxofficial)

#2943: yannickcr/eslint-plugin-react#2943 #2935: yannickcr/eslint-plugin-react#2935 #2933: yannickcr/eslint-plugin-react#2933 #2930: yannickcr/eslint-plugin-react#2930 #2929: yannickcr/eslint-plugin-react#2929 #2925: yannickcr/eslint-plugin-react#2925 #2923: yannickcr/eslint-plugin-react#2923 #2917: yannickcr/eslint-plugin-react#2917 #2910: yannickcr/eslint-plugin-react#2910 #2908: yannickcr/eslint-plugin-react#2908 #2906: yannickcr/eslint-plugin-react#2906 #2900: yannickcr/eslint-plugin-react#2900 #2899: yannickcr/eslint-plugin-react#2899

... (truncated)

Commits
  • 307458f Update CHANGELOG and bump version
  • 886ae07 [Dev Deps] update @types/estree
  • bc37220 [Fix] version detection: support processor virtual filename
  • 3d7fd57 Update CHANGELOG and bump version
  • c8917b0 [New] added jsx-runtime config, for the modern JSX runtime transform
  • 7b35ee7 [New] no-unstable-nested-components: Prevent creating unstable components i...
  • 4dda913 [Tests] jsx-max-depth: add test case
  • 525af5f [Fix] jsx-curly-newline: Update error messages
  • a686079 [New] jsx-newline: Add prevent option
  • bf8dff0 [Dev Deps] update @types/eslint, @types/estree, @types/node
  • 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](https://app.dependabot.com): - 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[bot] commented 3 years ago

Superseded by #264.