storybookjs / marksy

📑 A markdown to custom VDOM components library
MIT License
354 stars 47 forks source link

chore(deps-dev): bump eslint-plugin-react from 7.21.5 to 7.22.0 #162

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps eslint-plugin-react from 7.21.5 to 7.22.0.

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.


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[bot] commented 3 years ago

A newer version of eslint-plugin-react exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.