Skip to content

chore(deps): update dependency xo to ^0.60.0

Renovate requested to merge renovate/xo-0.x into master

This MR contains the following updates:

Package Type Update Change
xo devDependencies minor ^0.18.1 -> ^0.60.0

Release Notes

xojs/xo (xo)

v0.60.0

Compare Source

New rules
Improvements

v0.59.3

Compare Source

v0.59.2

Compare Source

v0.59.1

Compare Source

v0.59.0

Compare Source

New rules
Breaking

v0.58.0

Compare Source

  • TypeScript: Disable default-case rule to avoid conflict with stricter @typescript-eslint/switch-exhaustiveness-check rule

v0.57.0

Compare Source

Breaking
New rules

v0.56.0

Compare Source

  • Support additional TypeScript extensions (.mts, .cts) (#​728) 04552b8

v0.55.1

Compare Source

  • Lock down eslint-plugin-import dependency to patch versions only 0a71db5

v0.55.0

Compare Source

Breaking
New rules

v0.54.2

Compare Source

v0.54.1

Compare Source

v0.54.0

Compare Source

New rules
Improvements

v0.53.1

Compare Source

v0.53.0

Compare Source

Breaking
New rules

v0.52.4

Compare Source

v0.52.3

Compare Source

v0.52.2

Compare Source

v0.52.1

Compare Source

v0.52.0

Compare Source

New rules
Improvements

v0.51.0

Compare Source

  • Internal: Include rulesMeta in linting results (#​674) cd86133
    • This is meant for editor plugins and formatters.

v0.50.0

Compare Source

v0.49.0

Compare Source

New rules
Breaking

v0.48.0

Compare Source

New rules
TypeScript-only

v0.47.0

Compare Source

New rules
Improvements

v0.46.4

Compare Source

v0.46.3

Compare Source

  • Fix an issue with npm not including bundledDependencies when publishing.

v0.46.2

Compare Source

  • Fix an issue with importing a dependency 653887a

v0.46.1

Compare Source

  • Fix an issue with npm not including bundledDependencies when publishing.

v0.46.0

Compare Source

Breaking
New rules
Improvements
Fixes

v0.45.0

Compare Source

New rules
Improvements
  • Replace Prettier's jsxBracketSameLine option with bracketSameLine (#​609) 506c151
  • Enable import/named rule for JavaScript (#​601) 623f259

v0.44.0

Compare Source

New rules
Improvements
Fixes

v0.43.0

Compare Source

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

Compare Source

New rules
Improvements

v0.41.0

Compare Source

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

Compare Source

v0.40.2

Compare Source

v0.40.1

Compare Source

v0.40.0

Compare Source

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

Compare Source

  • Fix a problem with using XO with Prettier fa34c74

v0.39.0

Compare Source

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

Compare Source

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

v0.38.1

Compare Source

v0.38.0

Compare Source

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

Compare Source

  • Fix TypeScript not supporting extensions f56d90d

v0.37.0

Compare Source

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

Compare Source

v0.36.0

Compare Source

v0.35.0

Compare Source

New rules
Improvements

v0.34.2

Compare Source

v0.34.1

Compare Source

  • 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

Compare Source

New rules
Improvements

v0.33.1

Compare Source

  • Fix setting multiple of some CLI flags ead63be

v0.33.0

Compare Source

New rules
Improvements

v0.32.1

Compare Source

  • Dependency updates

v0.32.0

Compare Source

v0.31.0

Compare Source

New rules
Improvements

v0.30.0

Compare Source

New rules
Fixes
  • Lock prettier dependency at 2.0.4 until we can resolve #​466
  • Prevent extraneous newline from --stdin --fix (#​460) 07e2762

v0.29.1

Compare Source

v0.29.0

Compare Source

New rules
Improvements

v0.28.3

Compare Source

v0.28.2

Compare Source

v0.28.1

Compare Source

  • Add xo-typescript and prettier/@​typescript-eslint before user extends (#​442) 6c57ff7
  • Change XO cache path to avoid conflicts when upgrading (#​443) fc30597

v0.28.0

Compare Source

New rules
Improvements

v0.27.2

Compare Source

  • Sort file paths before generating unique cache key (#​432) 1807537

v0.27.1

Compare Source

Important: We changed the cache structure, so you'll need to delete node_modules/.cache/xo:

$ rm node_modules/.cache/xo

v0.27.0

Compare Source

  • Add TypeScript support (#​426) b0dfcbd You can now lint TypeScript projects without any extra config. You can also lint d.ts files in JS projects. Read more.
  • Find XO config based on linted file path (#​425) e0f81a7
  • Fix overrides handling for extends, envs, globals, plugins (#​429) 4cefdbc
  • Add node/no-unsupported-features rules (#​341) 2297c07
  • Improve import/no-unassigned-import settings (#​430) 0c78113

v0.26.1

Compare Source

v0.26.0

Compare Source

Breaking
  • Require Node.js 10 d7fa875
  • Move $ xo --init to $ npm init xo 6463dfe
New rules

20 new rules 👌

ESLint
Unicorn
Other
Enhancements
Fixes
  • Fix compatibility with being run in a child process (#​405) 08af7c1

v0.25.4

Compare Source

  • Temporarily disable the import/order rule 776927f

v0.25.3

Compare Source

  • Enable unicorn/prefer-flat-map only for Node.js >=11 (#​403) 80c592e

v0.25.2

Compare Source

  • Disable no-nested-ternary rule when Prettier is used (#​402) 537ef66

v0.25.1

Compare Source

  • Don't report normal TODO comments as errors 4378e83

v0.25.0

Compare Source

Breaking
New rules
Enhancements

v0.24.0

Compare Source

Highlights

New rules

All changes

v0.23.0

Compare Source

Highlights

New rules

All changes

v0.22.0

Compare Source

Highlights

New rules

All changes

v0.21.1

Compare Source

Fix space/useTabs conflict message with Prettier. https://github.com/xojs/xo/commit/36f7f38f3c2f495283cda764c68cfee9b4494973

v0.21.0

Compare Source

Highlights

New rules

Removed rules

v0.20.3

Compare Source

v0.20.2

Compare Source

v0.20.1

Compare Source

v0.20.0

Compare Source

This release is way overdue, so glad to finally have it out! It includes a major ESLint upgrade, huge performance improvements, Prettier support, lots of new rules, and bug fixes.

The project was recently moved to a GitHub organization, and we got a new team member, Pierre Vanduynslager

We now also have configs for TypeScript (using tslint) and CSS & Sass (using stylelint). And don't forget, we already have a config for React.

Many of the new rules in this release are from the eslint-plugin-unicorn plugin, which could use some contributions.

Highlights

New rules

22 new rules!

All changes


Why is this not 0.19.0? That version got tainted by an incorrect publish a long time ago.

v0.19.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports