Open renovate[bot] opened 3 years ago
This PR contains the following updates:
^0.32.0
^0.59.0
📅 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 PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
^0.32.0
->^0.59.0
Release Notes
xojs/xo (xo)
### [`v0.59.3`](https://redirect.github.com/xojs/xo/releases/tag/v0.59.3) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.59.2...v0.59.3) - Allow using experimental Node.js features [`3eb8436`](https://redirect.github.com/xojs/xo/commit/3eb8436) - Fix TypeScript extension support ([#764](https://redirect.github.com/xojs/xo/issues/764)) [`46a91e0`](https://redirect.github.com/xojs/xo/commit/46a91e0) ### [`v0.59.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.59.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.59.1...v0.59.2) - Respect `nodeVersion: false` option ([#762](https://redirect.github.com/xojs/xo/issues/762)) [`c965843`](https://redirect.github.com/xojs/xo/commit/c965843) ### [`v0.59.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.59.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.59.0...v0.59.1) - Fix XO to not override rules from user's config ([#761](https://redirect.github.com/xojs/xo/issues/761)) [`9cdab84`](https://redirect.github.com/xojs/xo/commit/9cdab84) ### [`v0.59.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.59.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.58.0...v0.59.0) ##### New rules - [`unicorn/no-single-promise-in-promise-methods`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-single-promise-in-promise-methods.md) - [`unicorn/no-await-in-promise-methods`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-in-promise-methods.md) - [`unicorn/no-anonymous-default-export`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-anonymous-default-export.md) - [`unicorn/consistent-empty-array-spread`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-empty-array-spread.md) - [`unicorn/no-invalid-fetch-options`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-fetch-options.md) - [`unicorn/no-magic-array-flat-depth`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-magic-array-flat-depth.md) - [`unicorn/prefer-structured-clone`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-structured-clone.md) - [`unicorn/no-negation-in-equality-check`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negation-in-equality-check.md) - [`@typescript-eslint/no-unnecessary-parameter-property-assignment`](https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment/) - [`@typescript-eslint/use-unknown-in-catch-callback-variable`](https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable/) ##### Breaking - Re-enable `eslint-plugin-promise` ([#656](https://redirect.github.com/xojs/xo/issues/656)) [`b168f08`](https://redirect.github.com/xojs/xo/commit/b168f08) *** ### [`v0.58.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.58.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.57.0...v0.58.0) - TypeScript: Disable `default-case` rule to avoid conflict with stricter `@typescript-eslint/switch-exhaustiveness-check` rule ### [`v0.57.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.57.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.56.0...v0.57.0) ##### Breaking - Require Node.js 18 [`3b9d372`](https://redirect.github.com/xojs/xo/commit/3b9d372) ##### New rules - [`logical-assignment-operators`](https://eslint.org/docs/latest/rules/logical-assignment-operators) - [`prefer-object-has-own`](https://eslint.org/docs/latest/rules/prefer-object-has-own) - [`object-curly-newline`](https://eslint.org/docs/latest/rules/object-curly-newline) - [`unicorn/no-unnecessary-polyfills`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-polyfills.md) - [`@typescript-eslint/prefer-find`](https://typescript-eslint.io/rules/prefer-find/) - [`@typescript-eslint/no-array-delete`](https://typescript-eslint.io/rules/no-array-delete/) - [`@typescript-eslint/prefer-promise-reject-errors`](https://eslint.org/docs/latest/rules/prefer-promise-reject-errors) ### [`v0.56.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.56.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.55.1...v0.56.0) - Support additional TypeScript extensions (`.mts`, `.cts`) ([#728](https://redirect.github.com/xojs/xo/issues/728)) [`04552b8`](https://redirect.github.com/xojs/xo/commit/04552b8) ### [`v0.55.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.55.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.55.0...v0.55.1) - Lock down `eslint-plugin-import` dependency to patch versions only [`0a71db5`](https://redirect.github.com/xojs/xo/commit/0a71db5) ### [`v0.55.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.55.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.54.2...v0.55.0) ##### Breaking - Require Node.js 16 [`004e3b3`](https://redirect.github.com/xojs/xo/commit/004e3b3) ##### New rules - [`unicorn/prefer-blob-reading-methods`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-blob-reading-methods.md) - [`@typescript-eslint/no-unsafe-enum-comparison`](https://typescript-eslint.io/rules/no-unsafe-enum-comparison/) ### [`v0.54.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.54.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.54.1...v0.54.2) - Update dependencies ([#715](https://redirect.github.com/xojs/xo/issues/715)) [`498aece`](https://redirect.github.com/xojs/xo/commit/498aece) ### [`v0.54.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.54.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.54.0...v0.54.1) - Fix rule conflict ([#714](https://redirect.github.com/xojs/xo/issues/714)) [`658d376`](https://redirect.github.com/xojs/xo/commit/658d376) ### [`v0.54.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.54.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.53.1...v0.54.0) ##### New rules - [`unicorn/no-typeof-undefined`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-typeof-undefined.md) - [`unicorn/no-negated-condition`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md) - [`unicorn/prefer-set-size`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-set-size.md) - [`@typescript-eslint/no-duplicate-type-constituents`](https://typescript-eslint.io/rules/no-duplicate-type-constituents/) ##### Improvements - Support TypeScript 5 ([#712](https://redirect.github.com/xojs/xo/issues/712)) [`a815db3`](https://redirect.github.com/xojs/xo/commit/a815db3) ### [`v0.53.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.53.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.53.0...v0.53.1) - Improve performance ([#697](https://redirect.github.com/xojs/xo/issues/697)) [`9bee815`](https://redirect.github.com/xojs/xo/commit/9bee815) ### [`v0.53.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.53.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.52.4...v0.53.0) ##### Breaking - Require Node.js 14 [`91d10d1`](https://redirect.github.com/xojs/xo/commit/91d10d1) - TypeScript: It will now use inline type imports when auto-fixing https://github.com/xojs/eslint-config-xo-typescript/commit/e41f4a4032882da4f19d4ff69d303f8a1f2e127d ##### New rules - [`no-empty-static-block`](https://eslint.org/docs/latest/rules/no-empty-static-block) - [`no-new-native-nonconstructor`](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) - [`unicorn/no-unnecessary-await`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-await.md) - [`unicorn/switch-case-braces`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md) - [`unicorn/prefer-logical-operator-over-ternary`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md) - [`unicorn/prefer-event-target`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md) - [`@typescript-eslint/no-unsafe-declaration-merging`](https://typescript-eslint.io/rules/no-unsafe-declaration-merging/) ### [`v0.52.4`](https://redirect.github.com/xojs/xo/releases/tag/v0.52.4) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.52.3...v0.52.4) - Fix a bug with relative `extends` ([#686](https://redirect.github.com/xojs/xo/issues/686)) [`e69a192`](https://redirect.github.com/xojs/xo/commit/e69a192) ### [`v0.52.3`](https://redirect.github.com/xojs/xo/releases/tag/v0.52.3) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.52.2...v0.52.3) - Fix compatibility problem with Windows ([#687](https://redirect.github.com/xojs/xo/issues/687)) [`a608bf1`](https://redirect.github.com/xojs/xo/commit/a608bf1) ### [`v0.52.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.52.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.52.1...v0.52.2) - Fix tsconfig resolution quirks ([#683](https://redirect.github.com/xojs/xo/issues/683)) [`4cf8b05`](https://redirect.github.com/xojs/xo/commit/4cf8b05) ### [`v0.52.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.52.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.52.0...v0.52.1) - Ensure tsconfig lookups work as expected ([#680](https://redirect.github.com/xojs/xo/issues/680)) [`de5f878`](https://redirect.github.com/xojs/xo/commit/de5f878) ### [`v0.52.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.52.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.51.0...v0.52.0) ##### New rules - [`@typescript-eslint/consistent-type-exports`](https://typescript-eslint.io/rules/consistent-type-exports) - [`@typescript-eslint/consistent-type-imports`](https://typescript-eslint.io/rules/consistent-type-imports/) - [`@typescript-eslint/consistent-generic-constructors`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-generic-constructors.md) - [`@typescript-eslint/consistent-type-definitions`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-definitions.md) - `type` and `interface` are almost interchangeable. The main difference is that `interface` can be extended from anywhere, which can be useful in a few cases, but can most often cause surprising hard to track down behavior. XO prefers being strict by default and have chosen `type`. Just use an `eslint-disable` comment in the few cases where you need the declaration to be extendable. - [More info](https://stackoverflow.com/a/65948871/64949) ##### Improvements - Implement full tsconfig resolution ([#677](https://redirect.github.com/xojs/xo/issues/677)) [`b661eb8`](https://redirect.github.com/xojs/xo/commit/b661eb8) ### [`v0.51.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.51.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.50.0...v0.51.0) - Internal: Include `rulesMeta` in linting results ([#674](https://redirect.github.com/xojs/xo/issues/674)) [`cd86133`](https://redirect.github.com/xojs/xo/commit/cd86133) - This is meant for editor plugins and formatters. ### [`v0.50.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.50.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.49.0...v0.50.0) - Switch to `eslint-plugin-node`'s maintained fork ([#660](https://redirect.github.com/xojs/xo/issues/660)) [`3a4c9c9`](https://redirect.github.com/xojs/xo/commit/3a4c9c9) ### [`v0.49.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.49.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.48.0...v0.49.0) ##### New rules - [`no-constant-binary-expression`](https://eslint.org/docs/rules/no-constant-binary-expression) - [`unicorn/text-encoding-identifier-case`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/text-encoding-identifier-case.md) - [`unicorn/no-useless-switch-case`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-switch-case.md) - [`unicorn/prefer-modern-math-apis`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-modern-math-apis.md) - [`unicorn/no-unreadable-iife`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-iife.md) - [`unicorn/prefer-native-coercion-functions`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-native-coercion-functions.md) - [`@typescript-eslint/no-duplicate-enum-values`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-enum-values.md) - [`@typescript-eslint/parameter-properties`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/parameter-properties.md) - [`@typescript-eslint/space-before-blocks`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/space-before-blocks.md) - [`@typescript-eslint/no-useless-empty-export`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-empty-export.md) - [`@typescript-eslint/no-redundant-type-constituents`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redundant-type-constituents.md) ##### Breaking - Single-quotes is now enforced for JSX instead of double-quotes [https://github.com/xojs/eslint-config-xo/pull/78](https://redirect.github.com/xojs/eslint-config-xo/pull/78) ### [`v0.48.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.48.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.47.0...v0.48.0) ##### New rules - [`unicorn/no-thenable`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-thenable.md) - [`unicorn/no-useless-promise-resolve-reject`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-promise-resolve-reject.md) - [`unicorn/relative-url-style`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/relative-url-style.md) - [`unicorn/prefer-json-parse-buffer`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-json-parse-buffer.md) ##### TypeScript-only - Disallow `null` https://github.com/xojs/eslint-config-xo-typescript/commit/0d1c7193b6ba6e2cb86de47fdd7e5a172f523abd ### [`v0.47.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.47.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.46.4...v0.47.0) ##### New rules - [`unicorn/no-empty-file`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-empty-file.md) - [`unicorn/prefer-export-from`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-export-from.md) - [`unicorn/prefer-code-point`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-code-point.md) - [`unicorn/no-await-expression-member`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-expression-member.md) ##### Improvements - Enforce extensions on TypeScript files as well ([#639](https://redirect.github.com/xojs/xo/issues/639)) [`0e90967`](https://redirect.github.com/xojs/xo/commit/0e90967) - Rename some replacements in `prevent-abbreviations` ([#620](https://redirect.github.com/xojs/xo/issues/620)) [`1d2409f`](https://redirect.github.com/xojs/xo/commit/1d2409f) ### [`v0.46.4`](https://redirect.github.com/xojs/xo/releases/tag/v0.46.4) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.46.3...v0.46.4) - Fix handling of tsconfig's ([#632](https://redirect.github.com/xojs/xo/issues/632)) [`261696e`](https://redirect.github.com/xojs/xo/commit/261696e) ### [`v0.46.3`](https://redirect.github.com/xojs/xo/releases/tag/v0.46.3) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.46.2...v0.46.3) - Fix an issue with npm not including bundledDependencies when publishing. ### [`v0.46.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.46.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.46.1...v0.46.2) - Fix an issue with importing a dependency [`653887a`](https://redirect.github.com/xojs/xo/commit/653887a) ### [`v0.46.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.46.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.46.0...v0.46.1) - Fix an issue with npm not including `bundledDependencies` when publishing. ### [`v0.46.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.46.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.45.0...v0.46.0) ##### Breaking - Upgrade to [ESLint 8](https://eslint.org/blog/2021/10/eslint-v8.0.0-released) [`dddc991`](https://redirect.github.com/xojs/xo/commit/dddc991) ##### New rules - [`unicorn/template-indent`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/template-indent.md) ##### Improvements - Improve memory usage ([#622](https://redirect.github.com/xojs/xo/issues/622)) [`431887d`](https://redirect.github.com/xojs/xo/commit/431887d) ##### Fixes - Fix installing XO with npm 6 in some cases ([#624](https://redirect.github.com/xojs/xo/issues/624)) [`c9bbfb1`](https://redirect.github.com/xojs/xo/commit/c9bbfb1) ### [`v0.45.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.45.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.44.0...v0.45.0) ##### New rules - [`no-bitwise`](https://eslint.org/docs/rules/no-bitwise) - [`unicorn/no-useless-fallback-in-spread`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-fallback-in-spread.md) - [`unicorn/no-invalid-remove-event-listener`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-remove-event-listener.md) - [`@typescript-eslint/naming-convention`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/naming-convention.md#allowed-selectors-modifiers-and-types) - [`@typescript-eslint/no-restricted-imports`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-restricted-imports.md) - [`@typescript-eslint/no-non-null-asserted-nullish-coalescing`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md) - [`@typescript-eslint/padding-line-between-statements`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/padding-line-between-statements.md) - [`@typescript-eslint/no-meaningless-void-operator`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-invalid-void-type.md) ##### Improvements - Replace Prettier's `jsxBracketSameLine` option with `bracketSameLine` ([#609](https://redirect.github.com/xojs/xo/issues/609)) [`506c151`](https://redirect.github.com/xojs/xo/commit/506c151) - Enable `import/named` rule for JavaScript ([#601](https://redirect.github.com/xojs/xo/issues/601)) [`623f259`](https://redirect.github.com/xojs/xo/commit/623f259) ### [`v0.44.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.44.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.43.0...v0.44.0) ##### New rules - [`unicorn/prefer-object-from-entries`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-from-entries.md) - [`unicorn/no-useless-length-check`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-length-check.md) - [`unicorn/no-useless-spread`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-spread.md) - [`@typescript-eslint/prefer-return-this-type`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-return-this-type.md) - [`@typescript-eslint/ban-ts-comment`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md) ##### Improvements - Improve performance ([#583](https://redirect.github.com/xojs/xo/issues/583)) [`e2e715d`](https://redirect.github.com/xojs/xo/commit/e2e715d) - Change `trailingComma` option for Prettier to `all` ([#586](https://redirect.github.com/xojs/xo/issues/586)) [`68cb5ab`](https://redirect.github.com/xojs/xo/commit/68cb5ab) ##### Fixes - Fix running `xo --print-config` without a filename ([#587](https://redirect.github.com/xojs/xo/issues/587)) [`5ff95ad`](https://redirect.github.com/xojs/xo/commit/5ff95ad) ### [`v0.43.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.43.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.42.0...v0.43.0) ##### Improvements - Enforce importing `process` and `Buffer` in Node.js explicitly [`9f40074`](https://redirect.github.com/xojs/xo/commit/9f40074) - This is the recommendation in the Node.js docs. - Upgrade dependencies [`f2c5041`](https://redirect.github.com/xojs/xo/commit/f2c5041) ##### Fixes - Make cache directory be relative to cwd ([#582](https://redirect.github.com/xojs/xo/issues/582)) [`512291b`](https://redirect.github.com/xojs/xo/commit/512291b) - This fixes editor integration. ### [`v0.42.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.42.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.41.0...v0.42.0) ##### New rules - [`import/newline-after-import`](https://redirect.github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md) [`f81e933`](https://redirect.github.com/xojs/xo/commit/f81e933) ##### Improvements - Upgrade `globby` dependency ([#574](https://redirect.github.com/xojs/xo/issues/574)) [`34800b7`](https://redirect.github.com/xojs/xo/commit/34800b7) ### [`v0.41.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.41.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.40.3...v0.41.0) #### 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. - [This has a lot of benefits.](https://medium.com/@nikgraf/why-you-should-enforce-dangling-commas-for-multiline-statements-d034c98e36f8) - [Prettier also enforces this by default.](https://prettier.io/docs/en/options.html#trailing-commas) - If you don't want it, you can disable the `comma-dangle` rule, and `@typescript-eslint/comma-dangle` if you use TypeScript. - Change [`operator-linebreak`](https://eslint.org/docs/rules/operator-linebreak#options) rule to enforce operators `before`. - This way is more readable. #### New rules - [`arrow-body-style`](https://eslint.org/docs/rules/arrow-body-style) - [`unicorn/require-array-join-separator`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-array-join-separator.md) - [`unicorn/require-number-to-fixed-digits-argument`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-number-to-fixed-digits-argument.md) - [`unicorn/prefer-prototype-methods`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-prototype-methods.md) - [`unicorn/no-array-method-this-argument`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-method-this-argument.md) - [`unicorn/require-post-message-target-origin`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-post-message-target-origin.md) ### [`v0.40.3`](https://redirect.github.com/xojs/xo/releases/tag/v0.40.3) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.40.2...v0.40.3) - Support `xo.config.cjs` and `.xo-config.cjs` ([#561](https://redirect.github.com/xojs/xo/issues/561)) [`374dd73`](https://redirect.github.com/xojs/xo/commit/374dd73) ### [`v0.40.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.40.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.40.1...v0.40.2) - Fix handling of `parserOptions` for TypeScript ([#557](https://redirect.github.com/xojs/xo/issues/557)) [`7ace6e5`](https://redirect.github.com/xojs/xo/commit/7ace6e5) ### [`v0.40.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.40.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.40.0...v0.40.1) - Fix resolving base config ([#545](https://redirect.github.com/xojs/xo/issues/545)) [`d2c5750`](https://redirect.github.com/xojs/xo/commit/d2c5750) - Fix handling of `parserOptions` option ([#544](https://redirect.github.com/xojs/xo/issues/544)) [`e9c96a1`](https://redirect.github.com/xojs/xo/commit/e9c96a1) ### [`v0.40.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.40.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.39.1...v0.40.0) ##### Breaking - **XO now enforces that your project is [ESM](https://blog.sindresorhus.com)** If you cannot yet move to ESM, I recommend staying on XO 0.39 for now. - Require Node.js 12.20 [`cc06c3c`](https://redirect.github.com/xojs/xo/commit/cc06c3c) ##### New rules - [`unicorn/prefer-node-protocol`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md) - [`unicorn/prefer-module`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-module.md) - [`unicorn/no-document-cookie`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-document-cookie.md) - [`unicorn/numeric-separators-style`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/numeric-separators-style.md) - [`unicorn/prefer-array-flat`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-flat.md) - [`unicorn/prefer-array-flat-map`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-flat-map.md) ##### Meta - Move from deprecated `ESLint.CLIEngine` to `ESLint` ([#534](https://redirect.github.com/xojs/xo/issues/534)) [`0480d80`](https://redirect.github.com/xojs/xo/commit/0480d80) This should hopefully resolve a bunch of issues. ### [`v0.39.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.39.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.39.0...v0.39.1) - Fix a problem with using XO with Prettier [`fa34c74`](https://redirect.github.com/xojs/xo/commit/fa34c74) ### [`v0.39.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.39.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.38.2...v0.39.0) ##### New rules - [`unicorn/no-static-only-class`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-static-only-class.md) - [`unicorn/prefer-array-flat`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-flat.md) - [`unicorn/prefer-switch`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-switch.md) - [`@typescript-eslint/no-unsafe-argument`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unsafe-argument.md) ##### Breaking - Remove the `esnext` option [`e80c094`](https://redirect.github.com/xojs/xo/commit/e80c094) - `unicorn/prevent-abbreviations` rule: Rename options https://github.com/sindresorhus/eslint-plugin-unicorn/commit/cf42cc57029cc48e0305c07019a277247e149b4f - `unicorn/no-keyword-prefix` rule: Rename `blacklist` option to `disallowedPrefixes` https://github.com/sindresorhus/eslint-plugin-unicorn/commit/91e60d05d67fd109b4c05b50abe3ff9fcbad1097 ##### Improvements - Add `--print-config` flag ([#529](https://redirect.github.com/xojs/xo/issues/529)) [`7b8dc70`](https://redirect.github.com/xojs/xo/commit/7b8dc70) - Disable the `import/default` rule for TypeScript files [`e3c511b`](https://redirect.github.com/xojs/xo/commit/e3c511b) - Disable the `import/export` rule for TypeScript files [`b385bee`](https://redirect.github.com/xojs/xo/commit/b385bee) ### [`v0.38.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.38.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.38.1...v0.38.2) - Disable the `node/file-extension-in-import` rule for TypeScript projects ([#523](https://redirect.github.com/xojs/xo/issues/523)) [`1eb8230`](https://redirect.github.com/xojs/xo/commit/1eb8230) It doesn't work properly with TypeScript projects. ### [`v0.38.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.38.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.38.0...v0.38.1) - Fix a problem in v0.38.0 [`8b2fa78`](https://redirect.github.com/xojs/xo/commit/8b2fa78) ### [`v0.38.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.38.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.37.1...v0.38.0) ##### New rules - [`unicorn/no-new-array`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-new-array.md) - [`unicorn/prefer-array-index-of`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-array-index-of.md) - [`unicorn/prefer-regexp-test`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-regexp-test.md) - [`unicorn/no-array-for-each`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-array-for-each.md) - [`unicorn/no-array-push-push`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-array-push-push.md) - [`unicorn/no-this-assignment`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-this-assignment.md) - [`@typescript-eslint/object-curly-spacing`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/object-curly-spacing.md) ##### Improvements - Add auto-fix for fixing file extensions in imports [`f4f6b39`](https://redirect.github.com/xojs/xo/commit/f4f6b39) - Add `.mjs` and `.cjs` as default extensions ([#521](https://redirect.github.com/xojs/xo/issues/521)) [`2e05c81`](https://redirect.github.com/xojs/xo/commit/2e05c81) - Allow file extension for `import/no-unassigned-import` allow list [`8156d42`](https://redirect.github.com/xojs/xo/commit/8156d42) ##### Fixes - Fix ignored package.json config when using the CLI ([#520](https://redirect.github.com/xojs/xo/issues/520)) [`32bd3b8`](https://redirect.github.com/xojs/xo/commit/32bd3b8) ### [`v0.37.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.37.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.37.0...v0.37.1) - Fix TypeScript not supporting extensions [`f56d90d`](https://redirect.github.com/xojs/xo/commit/f56d90d) ### [`v0.37.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.37.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.36.1...v0.37.0) ##### New rules - [`no-unsafe-optional-chaining`](https://eslint.org/docs/rules/no-unsafe-optional-chaining) - [`no-useless-backreference`](https://eslint.org/docs/rules/no-useless-backreference) - [`default-case-last`](https://eslint.org/docs/rules/default-case-last) - [`no-nonoctal-decimal-escape`](https://eslint.org/docs/rules/no-nonoctal-decimal-escape) - [`unicorn/prefer-array-some`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-array-some.md) - [`unicorn/prefer-default-parameters`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-default-parameters.md) - [`unicorn/no-lonely-if`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-lonely-if.md) - [`unicorn/empty-brace-spaces`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/empty-brace-spaces.md) - [`unicorn/prefer-date-now`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-date-now.md) - [`@typescript-eslint/non-nullable-type-assertion-style`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md) - [`@typescript-eslint/no-confusing-void-expression`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-confusing-void-expression.md) ##### Renamed rules Only affects you if you had any of these rules disabled. - `unicorn/no-fn-reference-in-iterator` → `unicorn/no-array-callback-reference` - `unicorn/no-array-instanceof` → `unicorn/no-instanceof-array` - `unicorn/no-reduce` → `unicorn/no-array-reduce` - `unicorn/prefer-dataset` → `unicorn/prefer-dom-node-dataset` - `unicorn/prefer-flat-map` → `unicorn/prefer-array-flat-map` - `unicorn/prefer-replace-all` → `unicorn/prefer-string-replace-all` - `unicorn/prefer-starts-ends-with` → `unicorn/prefer-string-starts-ends-with` - `unicorn/prefer-text-content` → `unicorn/prefer-dom-node-text-content` - `unicorn/prefer-trim-start-end` → `unicorn/prefer-string-trim-start-end` - `unicorn/prefer-event-key` → `unicorn/prefer-keyboard-event-key` - `unicorn/prefer-node-append` → `unicorn/prefer-dom-node-append` - `unicorn/prefer-node-remove` → `unicorn/prefer-dom-node-remove` ##### Improvements - Improve ESM compatibility [`211f295`](https://redirect.github.com/xojs/xo/commit/211f295) - Enforce `err` → `error` for variable names [`d801095`](https://redirect.github.com/xojs/xo/commit/d801095) - Enforce some inclusive wording [`0ec4b8c`](https://redirect.github.com/xojs/xo/commit/0ec4b8c) ### [`v0.36.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.36.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.36.0...v0.36.1) - Fix a bug in v0.36 [`a186078`](https://redirect.github.com/xojs/xo/commit/a186078) ### [`v0.36.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.36.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.35.0...v0.36.0) - Add [`processor`](https://redirect.github.com/xojs/xo#processor) option [`bf6eb25`](https://redirect.github.com/xojs/xo/commit/bf6eb25) - Disable warnings when running in a GitHub Actions workflow ([#508](https://redirect.github.com/xojs/xo/issues/508)) [`7731ea1`](https://redirect.github.com/xojs/xo/commit/7731ea1) ### [`v0.35.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.35.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.34.2...v0.35.0) ##### New rules - [`@typescript-eslint/no-unnecessary-type-constraint`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md) - [`@typescript-eslint/space-infix-ops`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-infix-ops.md) ##### Improvements - Allow unassigned stylesheet imports ([#502](https://redirect.github.com/xojs/xo/issues/502)) [`b1012d3`](https://redirect.github.com/xojs/xo/commit/b1012d3) - Upgrade dependencies [`0555859`](https://redirect.github.com/xojs/xo/commit/0555859) [`6fa99cd`](https://redirect.github.com/xojs/xo/commit/6fa99cd) ### [`v0.34.2`](https://redirect.github.com/xojs/xo/releases/tag/v0.34.2) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.34.1...v0.34.2) - Fix the `extensions` option ([#503](https://redirect.github.com/xojs/xo/issues/503)) [`35e6336`](https://redirect.github.com/xojs/xo/commit/35e6336) ### [`v0.34.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.34.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.34.0...v0.34.1) - Disable the `unicorn/import-style` rule for TypeScript projects [`77716e2`](https://redirect.github.com/xojs/xo/commit/77716e2) It wants to use `import path from 'path';` which is not always possible. ### [`v0.34.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.34.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.33.1...v0.34.0) ##### New rules - [`unicorn/import-style`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/import-style.md) - [`unicorn/prefer-math-trunc`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-math-trunc.md) - [`@typescript-eslint/consistent-indexed-object-style`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/consistent-indexed-object-style.md) - [`@typescript-eslint/no-duplicate-imports`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-duplicate-imports.md) - [`@typescript-eslint/comma-dangle`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-dangle.md) - [`@typescript-eslint/no-loop-func`](https://redirect.github.com/xojs/eslint-config-xo-typescript/commit/f622de764043ac99c128d541c4458066fff050f4) - [`@typescript-eslint/no-implicit-any-catch`](https://redirect.github.com/xojs/eslint-config-xo-typescript/commit/edf8d6dcd2b8e7fdbc27b98c071a6529c842008d) ##### Improvements - Enable automatic annotations on GitHub Actions ([#497](https://redirect.github.com/xojs/xo/issues/497)) [`ba547e7`](https://redirect.github.com/xojs/xo/commit/ba547e7) ### [`v0.33.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.33.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.33.0...v0.33.1) - Fix setting multiple of some CLI flags [`ead63be`](https://redirect.github.com/xojs/xo/commit/ead63be) ### [`v0.33.0`](https://redirect.github.com/xojs/xo/releases/tag/v0.33.0) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.32.1...v0.33.0) ##### New rules - [`no-unreachable-loop`](https://eslint.org/docs/rules/no-unreachable-loop) - [`no-promise-executor-return`](https://eslint.org/docs/rules/no-promise-executor-return) - [`no-loss-of-precision`](https://eslint.org/docs/rules/no-loss-of-precision) - [`unicorn/prefer-array-find`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-array-find.md) - [`unicorn/no-object-as-default-parameter`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-object-as-default-parameter.md) - [`@typescript-eslint/prefer-literal-enum-member`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-literal-enum-member.md) - [`@typescript-eslint/no-loss-of-precision`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loss-of-precision.md) - [`@typescript-eslint/ban-tslint-comment`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-tslint-comment.md) ##### Improvements - Respect Prettier’s use of .editorconfig ([#493](https://redirect.github.com/xojs/xo/issues/493)) [`f45ab80`](https://redirect.github.com/xojs/xo/commit/f45ab80) ### [`v0.32.1`](https://redirect.github.com/xojs/xo/releases/tag/v0.32.1) [Compare Source](https://redirect.github.com/xojs/xo/compare/v0.32.0...v0.32.1) - Dependency updatesConfiguration
📅 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 PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.