---
title: "xo 5.0.0 Breaking Changes on npm | Since.dev"
description: "What each xo release removed, renamed or changed: 33 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/xo
last_updated: 2026-12-04
---

# xo breaking changes

xo 5.0.0 (September 16, 2026) is its newest release with breaking changes, 8 of them. The first: Removed import-x.extensions. Every breaking API change we have recorded in xo on npm: 33 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.0.1`, released September 18, 2026. [Source repository](https://github.com/xojs/xo)

Its 3.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 8 breaking changes in 1 version.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 10 breaking changes in 2 versions.

## xo 5.0.0 breaking changes

xo 5.0.0, released September 16, 2026: 8 breaking changes.

- **Removed** `import-x.extensions`  

Import file extensions in TypeScript are now enforced by n/file-extension-in-import instead of import-x/extensions. Update rule references in your configuration. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Renamed** `checkVaryingCallee`  

The checkVaryingCallee option of unicorn/prefer-minimal-ternary is now called checkVaryingBase. Update your configuration. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Renamed** `unicorn.no-unused-array-method-return`  

The unicorn/no-unused-array-method-return rule is replaced by unicorn/no-unused-builtin-method-return. Update rule references in your configuration. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Behavior changed** `@stylistic.function-paren-newline`  

The @stylistic/function-paren-newline rule is now disabled by default, so code that it previously flagged no longer gets reported. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Behavior changed** `space`  

The space option now also applies to HTML files, so HTML formatting results may change. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Configuration changed** `prettier`  

Setting prettier in a config item with files, ignores or basePath now throws an error. Use the prettier/prettier rule for file-specific overrides. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Configuration changed** `semicolon`  

Setting semicolon in a config item with files, ignores or basePath now throws an error. Use the @stylistic/semi rule for file-specific overrides. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)
- **Configuration changed** `space`  

Setting space in a config item with files, ignores or basePath now throws an error. Use the @stylistic/indent rule for file-specific overrides. [github.com](https://github.com/xojs/xo/releases/tag/v5.0.0)

## xo 4.0.0 breaking changes

xo 4.0.0, released July 6, 2026: 2 breaking changes.

- **Signature changed** `Xo.initEslint`  

Was initEslint(files?: string\[\], cliIgnores?: string\[\], stripDefaultIgnores?: boolean): Promise\<void>; now initEslint(files?: string\[\], cliIgnores?: string\[\], shouldStripDefaultIgnores?: boolean): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/xo/v/4.0.0)
- **Signature changed** `Xo.setEslintConfig`  

Was setEslintConfig(cliIgnores?: string\[\], stripDefaultIgnores?: boolean): void; now setEslintConfig(cliIgnores?: string\[\], shouldStripDefaultIgnores?: boolean): void. [npmjs.com](https://www.npmjs.com/package/xo/v/4.0.0)

## xo 3.0.0 breaking changes

xo 3.0.0, released June 16, 2026: 23 breaking changes.

- **Removed** `react`  

XO no longer bundles React lint rules. Add eslint-config-xo-react to your config instead. [github.com](https://github.com/xojs/xo/releases/tag/v3.0.0)
- **Removed** `Xo.baseXoConfig`  

Xo.baseXoConfig was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.cacheLocation`  

Xo.cacheLocation was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.eslint`  

Xo.eslint was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.eslintConfig`  

Xo.eslintConfig was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.flatConfigPath`  

Xo.flatConfigPath was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.linterOptions`  

Xo.linterOptions was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.prettier`  

Xo.prettier was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.prettierConfig`  

Xo.prettierConfig was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)
- **Removed** `Xo.setIgnores`  

Xo.setIgnores was removed in xo 3.0.0 [npmjs.com](https://www.npmjs.com/package/xo/v/3.0.0)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
