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

Update dependency eslint-plugin-react to v7 #24

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 20, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react ^6.10.3 -> ^7.0.0 age adoption passing confidence

Release Notes

jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.34.0

Compare Source

Added
Fixed
Changed

v7.33.2

Compare Source

Fixed
  • [no-deprecated]: prevent false positive on commonjs import (#​3614 @​akulsr0)
  • [no-unsafe]: report on the method instead of the entire component (@​ljharb)
  • [no-deprecated]: report on the destructured property instead of the entire variable declarator (@​ljharb)
  • [no-deprecated]: report on the imported specifier instead of the entire import statement (@​ljharb)
  • [no-invalid-html-attribute]: report more granularly (@​ljharb)

v7.33.1

Compare Source

Fixed

v7.33.0

Compare Source

Added
Fixed
Changed

v7.32.2

Compare Source

Fixed

v7.32.1

Compare Source

Fixed
  • prevent circular dependency in index and "all" config (#​3519 @​ljharb)
  • [destructuring-assignment]: do not force destructuring of optionally chained properties (#​3520 @​ljharb)

v7.32.0

Compare Source

Added
Fixed
Changed

v7.31.11

Compare Source

Fixed
Changed

v7.31.10

Compare Source

Fixed

v7.31.9

Compare Source

Fixed
  • [no-unknown-property]: add dialog attributes (#​3436 @​ljharb)
  • [no-arrow-function-lifecycle]: when converting from an arrow, remove the semi and wrapping parens (#​3337 @​ljharb)
  • [jsx-key]: Ignore elements inside React.Children.toArray() (#​1591 @​silvenon)
  • [jsx-no-constructed-context-values]: fix false positive for usage in non-components (#​3448 @​golopot)
  • [static-property-placement]: warn on nonstatic expected-statics (#​2581 @​ljharb)
  • [no-unknown-property]: properly tag-restrict case-insensitive attributes (@​ljharb)
  • [no-unknown-property]: allow webkitDirectory on input, case-insensitive (#​3454 @​ljharb)
Changed

v7.31.8

Compare Source

Fixed
Changed

v7.31.7

Compare Source

Fixed

v7.31.6

Compare Source

Fixed
  • [no-unknown-property]: onError and onLoad both work on img and script (#​3388 @​ljharb)
  • [no-unknown-property]: data-* attributes can have numbers (#​3390 @​sjarva)
  • [no-unknown-property]: add more audio/video attributes (#​3390 @​sjarva)
  • [no-unknown-property]: move allowfullscreen to case ignored attributes (#​3390 @​sjarva)
  • [no-unknown-property]: fill works on line, mask, and use elements (#​3390 @​sjarva)
  • [no-unknown-property]: add onMouseMoveCapture as valid react-specific attribute (#​3390 @​sjarva)
  • [no-unknown-property]: make onLoad and onError be accepted on more elements (#​3390 @​sjarva)
Changed
  • [Docs] [no-unknown-property]: add a mention about using ignores properties with libraries that add props (#​3390 @​sjarva)

v7.31.5

Compare Source

Fixed
  • [no-unknown-property]: add properties onToggle, fill, as, and pointer events (#​3385 @​sjarva)
  • [no-unknown-property]: add defaultChecked property (#​3385 @​sjarva)
  • [no-unknown-property]: add touch and media event related properties (#​3385 @​sjarva)
  • [no-unknown-property]: children is always an acceptable prop; iframes have scrolling; video has playsInline (#​3385 @​ljharb)

v7.31.4

Compare Source

Fixed

v7.31.3

Compare Source

Fixed

v7.31.2

Compare Source

Fixed
Changed
  • [Docs] [jsx-sort-props]: replace ref string with ref variable (#​3375 @​Luccasoli)
  • [Refactor] [no-unknown-property]: improve jsdoc; extract logic to separate functions (#​3377 @​sjarva)
  • [Refactor] [no-unknown-property]: update DOM properties to include also one word properties (#​3377 @​sjarva)

v7.31.1

Compare Source

Fixed
Changed

v7.31.0

Compare Source

Added
Fixed
Changed

v7.30.2

Compare Source

v7.30.1

Compare Source

Fixed
Changed

v7.30.0

Compare Source

Added
Fixed
Changed

v7.29.4

Compare Source

Fixed

v7.29.3

Compare Source

Fixed

v7.29.2

Compare Source

Fixed
  • [jsx-curly-brace-presence]: avoid warning on curlies containing quote characters (#​3214 @​ljharb)
  • [jsx-indent]: do not report on non-jsx-returning ternaries that contain null (#​3222 @​ljharb)
  • [jsx-indent]: properly report on returned ternaries with jsx (#​3222 @​ljharb)
  • [no-array-index-key]: detect named-imported cloneElement/createElement (#​3213 @​ljharb)

v7.29.1

Compare Source

Fixed

v7.29.0

Compare Source

Added
  • add [hook-use-state] rule to enforce symmetric useState hook variable names ([#​2921][] @​duncanbeevers)
  • [jsx-no-target-blank]: Improve fixer with option allowReferrer ([#​3167][] @​apepper)
  • [jsx-curly-brace-presence]: add "propElementValues" config option ([#​3191][] @​ljharb)
  • add [iframe-missing-sandbox] rule ([#​2753][] @​tosmolka @​ljharb)
  • [no-did-mount-set-state], [no-did-update-set-state]: no-op with react >= 16.3 ([#​1754][] @​ljharb)
  • [jsx-sort-props]: support multiline prop groups ([#​3198][] @​duhamelgm)
  • [jsx-key]: add warnDuplicates option to warn on duplicate jsx keys in an array ([#​2614][] @​ljharb)
  • [jsx-sort-props]: add locale option ([#​3002][] @​ljharb)
Fixed
  • [prop-types], propTypes: add support for exported type inference ([#​3163][] @​vedadeepta)
  • [no-invalid-html-attribute]: allow 'shortcut icon' on link ([#​3174][] @​Primajin)
  • [prefer-exact-props] improve performance for Identifier visitor ([#​3190][] @​meowtec)
  • propTypes: Handle TSTypeReference in no-unused-prop-type ([#​3195][] @​niik)
  • [sort-prop-types]: avoid repeated warnings of the same node/reason ([#​519][] @​ljharb)
  • [jsx-indent]: Fix indent handling for closing parentheses ([#​620][] @​stefanbuck])
  • [prop-types]/propTypes: follow a returned identifier to see if it is JSX ([#​1046][] @​ljharb)
  • [no-unused-state]: TS: support getDerivedStateFromProps as an arrow function ([#​2061][] @​ljharb)
  • [no-array-index-key]: catch .toString and String() usage ([#​2813][] @​RedTn)
  • [function-component-definition]: do not break on dollar signs ([#​3207][] @​ljharb)
  • [prefer-stateless-function]: avoid a crash inside doctrine ([#​2596][] @​ljharb)
  • [prop-types]: catch infinite loop ([#​2861][] @​ljharb)
  • [forbid-prop-types]: properly report name in error message; check undestructured arguments ([#​2945][] @​ljharb)
Changed
  • [readme] ch

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants