Skip to content

Update dependency xo to v1 #2619

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

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

Update dependency xo to v1 #2619

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 23, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xo ^0.60.0 -> ^1.0.0 age adoption passing confidence

Release Notes

xojs/xo (xo)

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


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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 was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jun 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mdx ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2025 2:56am

@github-actions github-actions bot added the 👋 phase/new Post is being triaged automatically label Jun 23, 2025
Copy link

github-actions bot commented Jun 23, 2025

Hi! It seems you removed the template which we require. Here are our templates (pick the one you want to use and click *raw* to see its source):

I won’t send you any further notifications about this, but I’ll keep on updating this comment, and hide it when done!

Thanks,
— bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👋 phase/new Post is being triaged automatically
Development

Successfully merging this pull request may close these issues.

0 participants