Skip to content

Update dependency xo to v2#657

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

Update dependency xo to v2#657
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/xo-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 14, 2026

This PR contains the following updates:

Package Change Age Confidence
xo 0.58.02.0.2 age confidence

Release Notes

xojs/xo (xo)

v2.0.2

Compare Source

  • Fix react and prettier: 'compat' configs failing when files is not specified bde9854

v2.0.1

Compare Source


v2.0.0

Compare Source

Breaking
  • Requires Node.js 20.19
  • Requires ESLint 10
  • Removed CommonJS config file support (use .js/.mjs/.ts/.mts instead)
  • Temporarily removed eslint-plugin-promise rules (pending ESLint 10 compatibility)
Improvements
  • Default to content-based cache strategy for faster re-linting
  • Show warning when explicitly specified files are ignored
  • Accept ESLint-native files format in config
  • Simplified TypeScript handling by using in-memory programs
  • Fix linting of files starting with a dot
  • Fix cwd for case-sensitive filesystems
New rules

v1.2.3

Compare Source

  • Add support for Vue, Svelte, and Astro file extensions (#​845) d1aea04
  • Fix prettier integration being broken due to nullish coalescing misuse (#​836) b41471f

v1.2.2

Compare Source


v1.2.1

Compare Source


v1.2.0

Compare Source


v1.1.1

Compare Source

  • Fix: Behaviour of print-config option with relative file path (#​816) b538cf7

v1.1.0

Compare Source


v1.0.5

Compare Source


v1.0.4

Compare Source

  • Fix: Error while loading configs with custom plugins (#​805) 32960d3

v1.0.3

Compare Source


v1.0.2

Compare Source

v1.0.1

Compare Source

  • Fix: Ensure lint text does not strip rules between runs (#​802) e63d7a5

v1.0.0

Compare Source

Breaking
  • Requires ESLint flat config
  • Requires Node.js 20.17
  • Configuration now only through package.json and xo.config.{js,cjs,mjs,ts,cts,mts} files
  • Switched from eslint-plugin-import to eslint-plugin-import-x (since it's better maintained)
    • You will have to update ignore comments and config from import to import-x
  • CLI flags removed:
    • --plugin: Configurable via config file
    • --extend: Configurable via config file
    • --global: Configurable via config file
    • --extension: Configurable via config file
    • --env: No longer relevant with new config system
    • --node-version: Removed as it only affected unsupported Node.js versions
    • --reporter: Removed due to potential lookup reliability issues
  • Node.js engines check removed
    • Was only active in unsupported Node.js versions
  • Webpack lookup and import resolution removed
    • Considered too niche for core functionality
Improvements
  • React support
  • Prettier compatibility mode with {prettier: 'compat'} option
    • Disables all Prettier-affected stylistic rules, and maintains existing Prettier functionality otherwise
  • Enhanced stdin handling:
    • --stdin-filename now optional
    • Supports TypeScript files via stdin
New rules
Thanks

Huge thanks to @​spence-s for doing most of the work for this 🎉


v0.61.1

Compare Source

v0.61.0

Compare Source

v0.60.0

Compare Source

New rules
Improvements

v0.59.3

Compare Source

v0.59.2

Compare Source

v0.59.1

Compare Source

v0.59.0

Compare Source

New rules
Breaking


Configuration

📅 Schedule: (in timezone Asia/Singapore)

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

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

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 force-pushed the renovate/xo-2.x branch 4 times, most recently from d9dc1d5 to 904ebbd Compare March 27, 2026 18:56
@renovate renovate Bot force-pushed the renovate/xo-2.x branch 4 times, most recently from 2c06e9b to 1644fbb Compare April 8, 2026 17:42
@renovate renovate Bot force-pushed the renovate/xo-2.x branch 2 times, most recently from 79f940a to de57ec8 Compare April 17, 2026 21:08
@renovate renovate Bot force-pushed the renovate/xo-2.x branch 2 times, most recently from 5bac9a6 to 80541b6 Compare April 18, 2026 17:54
@renovate renovate Bot force-pushed the renovate/xo-2.x branch from 80541b6 to 6187514 Compare April 29, 2026 10:11
@renovate renovate Bot force-pushed the renovate/xo-2.x branch 3 times, most recently from 399938d to c38fce4 Compare May 15, 2026 21:17
@renovate renovate Bot force-pushed the renovate/xo-2.x branch 2 times, most recently from 221081d to 7212ba4 Compare May 22, 2026 23:13
@renovate renovate Bot force-pushed the renovate/xo-2.x branch 2 times, most recently from b818645 to 2d21c3b Compare June 1, 2026 19:52
@renovate renovate Bot force-pushed the renovate/xo-2.x branch from 2d21c3b to a665bde Compare June 5, 2026 22:34
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