Skip to content

Releases: xojs/xo

v1.1.0

07 Jun 16:21
Compare
Choose a tag to compare

v1.0.5...v1.1.0

v1.0.5

31 May 11:29
Compare
Choose a tag to compare

v1.0.4...v1.0.5

v1.0.4

30 May 18:42
Compare
Choose a tag to compare
  • Fix: Error while loading configs with custom plugins (#805) 32960d3

v1.0.3...v1.0.4

v1.0.3

30 May 11:01
Compare
Choose a tag to compare

v1.0.1...v1.0.3

v1.0.1

29 May 21:23
Compare
Choose a tag to compare
  • Fix: Ensure lint text does not strip rules between runs (#802) e63d7a5

v1.0.0...v1.0.1

v1.0.0

23 May 12:16
Compare
Choose a tag to compare

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.60.0...v1.0.0

v0.61.0-2

10 Apr 22:41
Compare
Choose a tag to compare
v0.61.0-2 Pre-release
Pre-release
  • Remove need for xoToEslintConfig to be async (#790) 5866a17
  • Fix: Ensure Prettier rules are applied last (#789) 35b8320

v0.61.0-1...v0.61.0-2

v0.61.0-1

04 Apr 07:44
Compare
Choose a tag to compare
v0.61.0-1 Pre-release
Pre-release
  • Fix types not being included in the package (#780) b181386

More here


v0.61.0-0...v0.61.0-1

v0.61.0-0

03 Apr 11:36
Compare
Choose a tag to compare
v0.61.0-0 Pre-release
Pre-release

Help us test this pre-release 🙏

Breaking

  • Requires Node.js 18.20
  • Requires ESLint flat config
  • 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.60.0...v0.61.0-0

v0.60.0

06 Dec 13:59
Compare
Choose a tag to compare