Skip to content

Update dependency eslint-config-xo-react to ^0.32.0 - #479

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint-config-xo-react-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint-config-xo-react-0.x

Conversation

@renovate

@renovate renovate Bot commented Jan 23, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
eslint-config-xo-react ^0.27.0 → ^0.32.0 age confidence

Release Notes

xojs/eslint-config-xo-react (eslint-config-xo-react)

v0.32.0

Compare Source

Breaking
  • Switch from eslint-plugin-react to @eslint-react/eslint-plugin e1936a8
  • Require ESLint 10.4
  • Require Node.js 22
  • JSX formatting rules now come from @stylistic/eslint-plugin instead of eslint-plugin-react
  • JSX prop ordering now comes from eslint-plugin-perfectionist, as @stylistic/jsx-sort-props is deprecated
Improvements
  • Add accessibility rules d5e1b27
  • Use line-aligned for JSX closing bracket and tag location 55754f0
  • Add prettier option a654d08

Migration guide

What you need to do

Nothing, if you only use the config. Rule names in your eslint-disable comments and any per-rule overrides in your own config need updating.

-// eslint-disable-next-line react/no-danger
+// eslint-disable-next-line @eslint-react/dom-no-dangerously-set-innerhtml
Renamed rules
Before After
react/button-has-type @eslint-react/dom-no-missing-button-type
react/no-danger @eslint-react/dom-no-dangerously-set-innerhtml
react/no-danger-with-children @eslint-react/dom-no-dangerously-set-innerhtml-with-children
react/no-find-dom-node @eslint-react/dom-no-find-dom-node
react/no-render-return-value @eslint-react/dom-no-render-return-value
react/no-unknown-property @eslint-react/dom-no-unknown-property
react/style-prop-object @eslint-react/dom-no-string-style-prop
react/void-dom-elements-no-children @eslint-react/dom-no-void-elements-with-children
react/iframe-missing-sandbox @eslint-react/dom-no-missing-iframe-sandbox + @eslint-react/dom-no-unsafe-iframe-sandbox (the old rule's two halves are now separate rules)
react/jsx-no-script-url @eslint-react/dom-no-script-url
react/jsx-no-target-blank @eslint-react/dom-no-unsafe-target-blank
react/no-children-prop @eslint-react/jsx-no-children-prop + @eslint-react/jsx-no-children-prop-with-children
react/jsx-no-comment-textnodes @eslint-react/jsx-no-comment-textnodes
react/no-namespace @eslint-react/jsx-no-namespace
react/jsx-no-useless-fragment @eslint-react/jsx-no-useless-fragment
react/jsx-key @eslint-react/no-missing-key + @eslint-react/no-duplicate-key + @eslint-react/jsx-no-key-after-spread
react/no-deprecated @eslint-react/no-component-will-mount + -will-receive-props + -will-update, no-create-ref, no-forward-ref, dom-no-render, dom-no-hydrate
react/no-unsafe @eslint-react/no-unsafe-component-will-mount + -will-receive-props + -will-update
react/forward-ref-uses-ref @eslint-react/no-forward-ref — stricter: the old rule required a ref parameter, the new one bans forwardRef outright, as React 19 passes ref as a normal prop
react/hook-use-state @eslint-react/use-state
react/jsx-no-constructed-context-values @eslint-react/no-unstable-context-value
react/no-object-type-as-default-prop @eslint-react/no-unstable-default-props
react/no-redundant-should-component-update @eslint-react/no-unused-class-component-members — also reports unused class methods, which react/no-unused-class-component-methods used to cover
react/jsx-no-leaked-render @eslint-react/no-leaked-conditional-rendering (TypeScript only)
react/no-unused-prop-types nothing for now — see below
react/no-access-state-in-setstate @eslint-react/no-access-state-in-setstate
react/no-array-index-key @eslint-react/no-array-index-key
react/no-direct-mutation-state @eslint-react/no-direct-mutation-state
react/no-did-update-set-state @eslint-react/no-set-state-in-component-did-update (plus -did-mount and -will-update)
react/no-unused-state @eslint-react/no-unused-state
react/self-closing-comp @stylistic/jsx-self-closing-comp
react/jsx-pascal-case @stylistic/jsx-pascal-case
react/jsx-sort-props perfectionist/sort-jsx-props
react/jsx-props-no-multi-spaces @stylistic/no-multi-spaces, already enabled by eslint-config-xo
every other react/jsx-* formatting rule the same name under @stylistic/
Removed rules

These have no equivalent in ESLint React, @stylistic or perfectionist, and are now gone:

  • react/jsx-no-duplicate-props — the one worth knowing about. <div className="a" className="b"/> no longer reports in .jsx. TypeScript still catches it in .tsx.
  • react/jsx-boolean-value — <Foo bar={true}/> no longer reports
  • react/jsx-fragments — <React.Fragment> no longer reports
  • react/no-unescaped-entities
  • react/function-component-definition
  • react/jsx-no-bind
  • react/jsx-props-no-spread-multi
  • react/boolean-prop-naming
  • react/checked-requires-onchange-or-readonly
  • react/no-invalid-html-attribute
  • react/no-typos
  • react/no-this-in-sfc
  • react/no-string-refs
  • react/no-is-mounted
  • react/prefer-read-only-props
  • The propTypes and class-component family: prop-types, require-default-props, default-props-match-prop-types, state-in-constructor, static-property-placement, no-arrow-function-lifecycle

v0.31.0

Compare Source

  • Don't apply React rules to non-JavaScript files 14da006

v0.30.1

Compare Source

  • Fix: Remove non-existent rule 8115413

v0.30.0

Compare Source

Breaking
  • Move from subexports to options d4bc51c
Improvements
  • Fix support for Preact b00fbf2
  • Disable react/jsx-indent 414b0bc
  • Disable react/react-in-jsx-scope b586b3b

v0.29.0

Compare Source

  • Add missing React Hooks rules b1f5e8f

v0.28.0

Compare Source

New rules
Breaking
Improvements
  • You no longer need the eslint-plugin-react and eslint-plugin-react-hooks development dependencies. They are incldued in the config package.


Configuration

📅 Schedule: (in timezone Europe/Madrid)

  • Branch creation
    • Only on Saturday (* * * * 6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jan 23, 2025 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will error in a future major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: undefined@undefined
npm error Found: eslint@8.57.1
npm error node_modules/eslint
npm error   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.10.1
npm error   node_modules/@eslint-community/eslint-utils
npm error     @eslint-community/eslint-utils@"^4.4.0" from @typescript-eslint/utils@7.18.0
npm error     node_modules/@typescript-eslint/utils
npm error       @typescript-eslint/utils@"7.18.0" from @typescript-eslint/eslint-plugin@7.18.0
npm error       node_modules/@typescript-eslint/eslint-plugin
npm error         peer @typescript-eslint/eslint-plugin@">=7.16.0" from eslint-config-xo-typescript@5.0.0
npm error         node_modules/eslint-config-xo-typescript
npm error         1 more (xo)
npm error       1 more (@typescript-eslint/type-utils)
npm error     @eslint-community/eslint-utils@"^4.8.0" from eslint@9.39.4
npm error     node_modules/addons-linter/node_modules/eslint
npm error       eslint@"9.39.4" from addons-linter@10.14.0
npm error       node_modules/addons-linter
npm error         addons-linter@"10.14.0" from web-ext@10.8.0
npm error         node_modules/web-ext
npm error       1 more (eslint-plugin-no-unsanitized)
npm error     4 more (eslint, eslint-plugin-es-x, eslint-plugin-n, eslint-plugin-unicorn)
npm error   peer eslint@"^8.56.0" from @typescript-eslint/eslint-plugin@7.18.0
npm error   node_modules/@typescript-eslint/eslint-plugin
npm error     peer @typescript-eslint/eslint-plugin@">=7.16.0" from eslint-config-xo-typescript@5.0.0
npm error     node_modules/eslint-config-xo-typescript
npm error       eslint-config-xo-typescript@"^5.0.0" from xo@0.60.0
npm error       node_modules/xo
npm error         dev xo@"^0.60.0" from the root project
npm error     @typescript-eslint/eslint-plugin@"^7.16.1" from xo@0.60.0
npm error     node_modules/xo
npm error       dev xo@"^0.60.0" from the root project
npm error   19 more (@typescript-eslint/parser, ...)
npm error
npm error Could not resolve dependency:
npm error dev eslint-config-xo-react@"^0.32.0" from the root project
npm error
npm error Conflicting peer dependency: eslint@10.13.0
npm error node_modules/eslint
npm error   peer eslint@">=10.4" from eslint-config-xo-react@0.32.0
npm error   node_modules/eslint-config-xo-react
npm error     dev eslint-config-xo-react@"^0.32.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-10-27T00_06_56_029Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-10-27T00_06_56_029Z-debug-0.log

@netlify

netlify Bot commented Jan 23, 2025 •

Copy link
Copy Markdown

❌ Deploy Preview for voluble-crisp-6e2a75 failed.

Name Link
🔨 Latest commit e4afc87
🔍 Latest deploy log https://app.netlify.com/projects/voluble-crisp-6e2a75/deploys/687b5f9794c3f00008994b4e

@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-react-0.x branch 5 times, most recently from 8ddaacd to 6c71ac9 Compare January 28, 2025 14:09
@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-react-0.x branch 16 times, most recently from e6e1268 to ad6cccf Compare February 6, 2025 17:53
@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-react-0.x branch 7 times, most recently from 778f26c to a5e635c Compare February 9, 2025 13:13
@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-react-0.x branch 14 times, most recently from ed9edee to bc6bbdb Compare March 1, 2025 10:47
@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-react-0.x branch 4 times, most recently from 324a368 to ba9460c Compare March 6, 2025 16:02
@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-react-0.x branch 7 times, most recently from d7f7ecc to 6dc02c1 Compare March 14, 2025 21:31
@netlify

netlify Bot commented Oct 24, 2025 •

Copy link
Copy Markdown

❌ Deploy Preview for voluble-crisp-6e2a75 failed.

Name Link
🔨 Latest commit e08114c
🔍 Latest deploy log https://app.netlify.com/projects/voluble-crisp-6e2a75/deploys/6900a724f1fc45000864eccb

@netlify

netlify Bot commented Dec 30, 2025 •

Copy link
Copy Markdown

❌ Deploy Preview for voluble-crisp-6e2a75 failed.

Name Link
🔨 Latest commit ae4b102
🔍 Latest deploy log https://app.netlify.com/projects/voluble-crisp-6e2a75/deploys/69d0d83a9df29f0009134436

@netlify

netlify Bot commented Jun 27, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for voluble-crisp-6e2a75 failed.

Name Link
🔨 Latest commit 6df1248
🔍 Latest deploy log https://app.netlify.com/projects/voluble-crisp-6e2a75/deploys/6a3fdda1a0352000088d5473

@netlify

netlify Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for voluble-crisp-6e2a75 failed.

Name Link
🔨 Latest commit 1f7c649
🔍 Latest deploy log https://app.netlify.com/projects/voluble-crisp-6e2a75/deploys/6adc8ba5fceecbda8dd25a58

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.

0 participants