Skip to content

fix(deps): update dependency xo to v5 - #374

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/xo-5.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/xo-5.x

Conversation

@renovate

@renovate renovate Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
xo 2.0.2 → 5.0.1 age confidence

Release Notes

xojs/xo (xo)

v5.0.1

Compare Source

  • Fix linting JSON and CSS files not working 123616e

v5.0.0

Compare Source

Breaking
  • The space, semicolon, and prettier options are now global only. Setting them in a config item that also has files, ignores, or basePath throws an error. Use the @stylistic/indent, @stylistic/semi, and prettier/prettier rules for file-specific overrides. (#​895)
  • unicorn/prefer-minimal-ternary: The checkVaryingCallee option is renamed to checkVaryingBase
Improvements
  • Lint package.json files with eslint-package-json
  • The space option now also applies to HTML files
  • Enforce import file extensions in TypeScript with n/file-extension-in-import, which auto-fixes and understands TypeScript's .js-for-.ts import convention (replaces import-x/extensions)
  • Disable @stylistic/function-paren-newline
  • Update to eslint-plugin-unicorn 75
  • Update to eslint-node-test 0.4
Fixes
  • Fix TypeScript file matching on Windows (#​896)
New rules

v4.0.0

Compare Source

Improvements
  • Lint node:test files with the new eslint-node-test plugin
  • Recognize any tool's *-ignore/*:ignore comment (like svelte-ignore), not just a hardcoded list, for capitalized-comments
New rules

v3.0.2

Compare Source

  • Fix --fix corrupting TypeScript files outside the tsconfig 7baa7f2

v3.0.1

Compare Source

  • Fix type resolution for TypeScript files outside the tsconfig 91d3e6d

v3.0.0

Compare Source

Breaking
  • Requires Node.js 22
  • Removed built-in React support.
    • Add eslint-config-xo-react to your config instead. Learn more
    • It was removed to keep XO's core lean and framework-agnostic. Bundling eslint-plugin-react for everyone held XO back by its slow ESLint-major support, and there's now a competing plugin, @eslint-react, so picking one for all users no longer makes sense.
  • The bundled rules now live in a single eslint-config-xo package. The separate eslint-config-xo-typescript package is merged into it.
    • If you prefer using ESLint directly, you can get all the rules there now.
  • Replaced the xoToEslintConfig export with the xo/eslint-adapter import for editor/ESLint integration. For example, xoToEslintConfig([{space: true, prettier: true}]) becomes eslintConfigXo({space: true, prettier: true}) from eslint-config-xo, or simply export {default} from 'xo/eslint-adapter';.
Improvements
  • Lint CSS, Markdown, HTML, JSDoc comments, and regular expressions out of the box
  • Add --max-warnings flag to treat warnings as errors (#​724)
  • Add ESLint bulk suppression support (#​826)
  • Hide warnings when there are errors, so you can focus on what matters (#​507)
  • Respect the global gitignore (#​803)
  • Allow overriding default ignores with negation patterns (#​65)
  • Throw when no files match explicitly provided patterns
New rules


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 added the renovate label Sep 16, 2026
@renovate
renovate Bot enabled auto-merge (squash) September 16, 2026 16:38
@renovate
renovate Bot force-pushed the renovate/xo-5.x branch 9 times, most recently from faf4647 to e01e375 Compare September 23, 2026 02:43
@renovate
renovate Bot force-pushed the renovate/xo-5.x branch 7 times, most recently from 507477d to 18d47fb Compare September 30, 2026 00:09
@renovate
renovate Bot force-pushed the renovate/xo-5.x branch 12 times, most recently from e36addc to d6a48ae Compare October 8, 2026 01:40
@renovate
renovate Bot force-pushed the renovate/xo-5.x branch 7 times, most recently from f03407c to d3c9705 Compare October 10, 2026 02:03
@renovate
renovate Bot force-pushed the renovate/xo-5.x branch from d3c9705 to d1d6bdd Compare October 10, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants