Skip to content

Releases: xojs/xo

v0.44.0

08 Aug 10:50
Compare
Choose a tag to compare

New rules

Improvements

Fixes

  • Fix running xo --print-config without a filename (#587) 5ff95ad

v0.43.0...v0.44.0

v0.43.0

03 Aug 14:23
Compare
Choose a tag to compare

Improvements

  • Enforce importing process and Buffer in Node.js explicitly 9f40074
    • This is the recommendation in the Node.js docs.
  • Upgrade dependencies f2c5041

Fixes

  • Make cache directory be relative to cwd (#582) 512291b
    • This fixes editor integration.

v0.42.0...v0.43.0

v0.42.0

16 Jul 15:57
Compare
Choose a tag to compare

New rules

Improvements

v0.41.0...v0.42.0

v0.41.0

05 Jul 08:58
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

v0.40.0...v0.40.1

v0.40.0

09 May 11:22
Compare
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
Compare
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
Compare
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