github xojs/eslint-config-xo v0.51.0

6 hours ago

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...v0.51.0

Don't miss a new eslint-config-xo release

NewReleases is sending notifications on new releases.