Skip to content

Releases: xojs/xo

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

v0.38.2

28 Feb 09:34
Compare
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
Compare
Choose a tag to compare

v0.38.0...v0.38.1

v0.38.0

20 Feb 09:49
Compare
Choose a tag to compare

New rules

Improvements

  • Add auto-fix for fixing file extensions in imports f4f6b39
  • Add .mjs and .cjs as default extensions (#521) 2e05c81
  • Allow file extension for import/no-unassigned-import allow list 8156d42

Fixes

  • Fix ignored package.json config when using the CLI (#520) 32bd3b8

v0.37.1...v0.38.0

v0.37.1

02 Jan 08:59
Compare
Choose a tag to compare
  • Fix TypeScript not supporting extensions f56d90d

v0.37.0...v0.37.1