Skip to content

Releases: xojs/xo

v0.42.0

16 Jul 15:57

Choose a tag to compare

New rules

Improvements

v0.41.0...v0.42.0

v0.41.0

05 Jul 08:58

Choose a tag to compare

Breaking

  • XO can no longer be installed globally.
    • It caused too many problems. Instead, you can run the local XO binary with $ npx xo.
  • XO now enforces trailing comma in multiline statements.
  • Change operator-linebreak rule to enforce operators before.
    • This way is more readable.

New rules

v0.40.3...v0.41.0

v0.40.3

21 Jun 09:46

Choose a tag to compare

  • Support xo.config.cjs and .xo-config.cjs (#561) 374dd73

v0.40.2...v0.40.3

v0.40.2

02 Jun 09:15

Choose a tag to compare

  • Fix handling of parserOptions for TypeScript (#557) 7ace6e5

v0.40.1...v0.40.2

v0.40.1

11 May 12:17

Choose a tag to compare

v0.40.0...v0.40.1

v0.40.0

09 May 11:22

Choose a tag to compare

Breaking

  • XO now enforces that your project is ESM
    If you cannot yet move to ESM, I recommend staying on XO 0.39 for now.
  • Require Node.js 12.20 cc06c3c

New rules

Meta

  • Move from deprecated ESLint.CLIEngine to ESLint (#534) 0480d80
    This should hopefully resolve a bunch of issues.

v0.39.1...v0.40.0

v0.39.1

20 Apr 18:50

Choose a tag to compare

  • Fix a problem with using XO with Prettier fa34c74

v0.39.0...v0.39.1

v0.39.0

20 Apr 16:35

Choose a tag to compare

New rules

Breaking

Improvements

  • Add --print-config flag (#529) 7b8dc70
  • Disable the import/default rule for TypeScript files e3c511b
  • Disable the import/export rule for TypeScript files b385bee

v0.38.2...v0.39.0

v0.38.2

28 Feb 09:34

Choose a tag to compare

  • Disable the node/file-extension-in-import rule for TypeScript projects (#523) 1eb8230
    It doesn't work properly with TypeScript projects.

v0.38.1...v0.38.2

v0.38.1

20 Feb 09:59

Choose a tag to compare

v0.38.0...v0.38.1