Skip to content

Update dependency eslint-config-xo to v2 - #48

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

Update dependency eslint-config-xo to v2#48
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/eslint-config-xo-2.x

Conversation

@renovate

@renovate renovate Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
eslint-config-xo 0.43.12.0.0 age confidence

Release Notes

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

v2.0.0

Compare Source

Breaking
New rules

v1.0.0

Compare Source

Improvements
New rules

v0.58.1

Compare Source

  • Disable import-x/extensions in base config when TypeScript is active 18d7467

v0.58.0

Compare Source

New features
Improvements
  • Enforce import extensions in TypeScript via n/file-extension-in-import, which auto-fixes and uniquely handles TypeScript's .js-for-.ts import convention 95c243a (#​119)
  • Enable the checkRelationalComparisons option for no-constant-binary-expression cf8ddfd
  • Update to eslint-plugin-unicorn 72
New rules

v0.57.0

Compare Source

  • Added eslint-node-test for linting node:test files. f59405c
  • Generalized the capitalized-comments ignore directives so any tool's *-ignore / *:ignore comment (like svelte-ignore) is recognized without adding each tool individually. 1796590 #​118

v0.56.0

Compare Source

Improvements
  • Disable @typescript-eslint/no-unnecessary-boolean-literal-compare in favor of the type-aware unicorn/no-unnecessary-boolean-comparison, which catches the same cases without requiring strictNullChecks f93a16e (#​117)
  • Allow the @isolated JSDoc tag used by unicorn/isolated-functions 6d78307 (#​116)
  • Update to eslint-plugin-unicorn 70
New rules

v0.55.0

Compare Source

Improvements
  • Allow a few common browser globals (location, history, confirm, screen) to be used without a globalThis. prefix in browser mode 0b4ba8c (#​115)
  • Prefer the autofixable unicorn versions of no-negated-condition and logical-assignment-operators c9bf95b (#​114)
  • Use the type-aware @typescript-eslint/no-unnecessary-template-expression rule in TypeScript c7c6712 (#​113)
  • Update to eslint-plugin-unicorn 69
New rules

v0.54.1

Compare Source

  • Rely on eslint-config-prettier to disable quotes in compat mode b8feb40
  • Disable @html-eslint/require-closing-tags under prettier (#​111) 12fea8a

v0.54.0

Compare Source

Improvements
  • Disable conflicting @html-eslint style rules when prettier is enabled ea75495
  • Disable regexp/prefer-regexp-exec in favor of TS version for TS code 47ad0d9
  • Use unicorn/consistent-boolean-name instead of the naming-convention boolean prefix f933fbf
  • Update to eslint-plugin-unicorn 68

New rules


v0.53.2

Compare Source

  • Disable unicorn/require-array-sort-compare in favor of TS version for TS code (#​105) c67e766

v0.53.1

Compare Source


v0.53.0

Compare Source

Breaking
  • Require TypeScript 6
Prettier integration

A new prettier option lets you combine the rules with Prettier:

export default defineConfig([
	...eslintConfigXo({prettier: true}),
]);
  • true — Runs Prettier as an ESLint rule using XO's Prettier style, and disables the stylistic rules that would conflict with it. Requires prettier to be installed.
  • 'compat' — Only disables the stylistic rules that conflict with Prettier, for when you run Prettier separately (for example, from your editor).

Anything XO does not configure (like printWidth or Prettier plugins) still respects your .prettierrc, but XO's own style settings take precedence. prettier is an optional peer dependency.

CSS linting

.css files are now linted out of the box via @eslint/css: duplicate imports, empty blocks, invalid at-rules, unmatchable selectors, invalid named grid areas, and more.

New rules

v0.52.0

Compare Source

Breaking
New rules
Improvements
  • Add eslint-plugin-jsdoc support ca9780b
  • Add eslint-plugin-regexp support 2eba483
  • Add Markdown support 2bb9c6c
  • Add HTML support 5da39d4
  • Make TypeScript optional for JavaScript-only projects 717184b
  • Use eslint-import-resolver-typescript for import resolution 600b604
  • naming-convention rule: Ignore all exotic/quoted keys bd171ba
  • naming-convention rule: Allow UPPER_CASE for static readonly class properties ce92257
  • naming-convention rule: Allow UPPER_CASE for module-level const variables 0b4bcce
  • Add ?? to no-mixed-operators groups 9117295
  • Require description for file-wide eslint-disable comments 55b6ae1
  • Discourage npm packages with native alternatives 92549e8
  • Remove deprecated rules 7e2747d
  • Disable redundant ESLint rules for TypeScript files f474625
  • capitalized-comments: Don't capitalize commented-out code aedc832

v0.51.0

Compare Source

Breaking

  • The package now exports a function instead of an array. Update your eslint.config.js:
-export default eslintConfigXo;
+export default [...eslintConfigXo()];
  • Removed the ./space and ./browser sub-path exports. Use the space and browser options instead:
export default [...eslintConfigXo({space: true, browser: true})];
  • Requires ESLint 10 and Node.js 20.19+.

Improvements

  • Merged eslint-config-xo-typescript: TypeScript rules are now included. No need to install a separate package.
  • Merged plugin configs from XO: Includes eslint-plugin-unicorn, eslint-plugin-import-x, eslint-plugin-n, eslint-plugin-ava, @eslint-community/eslint-plugin-eslint-comments, and a built-in no-use-extend-native rule. Previously these were only available through the XO CLI.
  • Added semicolon option
  • Added TypeScript declaration file
  • Add no-shadow rule 4cec7d2

v0.50.0

Compare Source

Breaking
New rules
Improvements
  • no-sequences: Add allowInParentheses: false 391d4c8

v0.49.0

Compare Source

Breaking
New rules

v0.48.0

Compare Source


v0.47.0

Compare Source

  • capitalized-comments: Support biome ignore comments (#​90) 518f523
  • Add @stylistic/curly-newline rule e1fe11c
  • Add JSON plugin 6a547b5
  • capitalized-comments: Add v8 to the ignorePattern option (#​88) 4bb2399

v0.46.0

Compare Source

New rules
Breaking
Improvements

v0.45.0

Compare Source

  • Allow class fields with no blank lines between (#​85) 6f2ff13

v0.44.0

Compare Source

Breaking
New rules
Improvements
  • Ban atob and btoa dfa969c
  • Replace deprecated no-new-object rule 7f8f92e
  • no-unused-vars: Allow ignoring variables by prefixing with underscore b31ab8a

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-2.x branch from 1cca1fc to b3adeba Compare September 2, 2026 21:02
@renovate
renovate Bot force-pushed the renovate/eslint-config-xo-2.x branch from b3adeba to f4e5f59 Compare September 3, 2026 23:10
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