Skip to content

v0.36.0

Latest

Choose a tag to compare

@sindresorhus sindresorhus released this 07 Feb 07:59

Breaking

  • Require Node.js 20.19 and ESLint 10 aae8618
  • Moved to ESM
  • Moved to ESLint flat config
  • The package now exports a function instead of a config object
  • The eslint-config-xo-space/browser export has been replaced with a {browser: true} option

Migration

Before:

{
  "extends": "xo-space"
}

After:

// eslint.config.js
import eslintConfigXoSpace from 'eslint-config-xo-space';

export default [
  ...eslintConfigXoSpace(),
];

Browser — before:

{
  "extends": "xo-space/browser"
}

Browser — after:

import eslintConfigXoSpace from 'eslint-config-xo-space';

export default [
  ...eslintConfigXoSpace({browser: true}),
];

v0.35.0...v0.36.0