Skip to content

Releases: xojs/xo

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

v0.37.0

02 Jan 08:12
Compare
Choose a tag to compare

New rules

Renamed rules

Only affects you if you had any of these rules disabled.

  • unicorn/no-fn-reference-in-iteratorunicorn/no-array-callback-reference
  • unicorn/no-array-instanceofunicorn/no-instanceof-array
  • unicorn/no-reduceunicorn/no-array-reduce
  • unicorn/prefer-datasetunicorn/prefer-dom-node-dataset
  • unicorn/prefer-flat-mapunicorn/prefer-array-flat-map
  • unicorn/prefer-replace-allunicorn/prefer-string-replace-all
  • unicorn/prefer-starts-ends-withunicorn/prefer-string-starts-ends-with
  • unicorn/prefer-text-contentunicorn/prefer-dom-node-text-content
  • unicorn/prefer-trim-start-endunicorn/prefer-string-trim-start-end
  • unicorn/prefer-event-keyunicorn/prefer-keyboard-event-key
  • unicorn/prefer-node-appendunicorn/prefer-dom-node-append
  • unicorn/prefer-node-removeunicorn/prefer-dom-node-remove

Improvements

  • Improve ESM compatibility 211f295
  • Enforce errerror for variable names d801095
  • Enforce some inclusive wording 0ec4b8c

v0.36.1

08 Dec 05:12
Compare
Choose a tag to compare

v0.36.0...v0.36.1

v0.36.0

08 Dec 04:13
Compare
Choose a tag to compare

v0.35.0...v0.36.0

v0.35.0

20 Nov 04:17
Compare
Choose a tag to compare

New rules

Improvements

v0.34.2...v0.35.0

v0.34.2

02 Nov 17:35
Compare
Choose a tag to compare

v0.34.1...v0.34.2

v0.34.1

18 Oct 22:07
Compare
Choose a tag to compare
  • Disable the unicorn/import-style rule for TypeScript projects 77716e2
    It wants to use import path from 'path'; which is not always possible.

v0.34.0...v0.34.1