From 7dd477d121f72149746e7c4fbae1196909007de3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 22:07:30 +0000 Subject: [PATCH] fix(deps): update dependency eslint-config-xo-typescript to v6 ##### [v6.0.0](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v6.0.0) ##### New rules - [`@typescript-eslint/no-wrapper-object-types`](https://typescript-eslint.io/rules/no-wrapper-object-types/) [`69b266f`](https://github.com/xojs/eslint-config-xo-typescript/commit/69b266f) - [`@typescript-eslint/no-unsafe-function-type`](https://typescript-eslint.io/rules/no-unsafe-function-type/) [`ecc1c11`](https://github.com/xojs/eslint-config-xo-typescript/commit/ecc1c11) ##### Breaking - Require Node.js 18.18 - Require ESLint 9 - Update to flat config, ESLint 9, and typescript-eslint 8 [`5c79f46`](https://github.com/xojs/eslint-config-xo-typescript/commit/5c79f46) - ESLint 9: https://eslint.org/blog/2024/04/eslint-v9.0.0-released/ - typescript-eslint 8: https://typescript-eslint.io/blog/announcing-typescript-eslint-v8 - Migrate config: https://eslint.org/docs/latest/use/configure/migration-guide - You no longer need to install `eslint-config-xo` separately ##### Improvements - Migrate deprecated rules to [`@stylistic`](https://eslint.style) ##### [v5.0.0](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v5.0.0) - Add [`@typescript-eslint/no-unnecessary-parameter-property-assignment`](https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment/) rule [`7dec07a`](https://github.com/xojs/eslint-config-xo-typescript/commit/7dec07a) - Add [`@typescript-eslint/use-unknown-in-catch-callback-variable`](https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable/) rule [`047d2ba`](https://github.com/xojs/eslint-config-xo-typescript/commit/047d2ba) - Remove deprecated `@typescript-eslint/prefer-ts-expect-error` rule [`3271346`](https://github.com/xojs/eslint-config-xo-typescript/commit/3271346) ##### [v4.0.0](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v4.0.0) - Disable `default-case` rule to avoid conflict with stricter `@typescript-eslint/switch-exhaustiveness-check` rule ([#85](https://github.com/xojs/eslint-config-xo-typescript/issues/85)) [`8cb7722`](https://github.com/xojs/eslint-config-xo-typescript/commit/8cb7722) ##### [v3.0.0](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v3.0.0) - Revert "Revert "Update [@typescript-eslint](https://github.com/typescript-eslint) ([#82](https://github.com/xojs/eslint-config-xo-typescript/issues/82))"" [`0f392ac`](https://github.com/xojs/eslint-config-xo-typescript/commit/0f392ac) ##### [v2.1.1](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v2.1.1) - Revert "Update `@typescript-eslint` ([#82](https://github.com/xojs/eslint-config-xo-typescript/issues/82))" [`fbafd4d`](https://github.com/xojs/eslint-config-xo-typescript/commit/fbafd4d) ##### [v2.1.0](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v2.1.0) - Update `@typescript-eslint` ([#82](https://github.com/xojs/eslint-config-xo-typescript/issues/82)) [`9b65605`](https://github.com/xojs/eslint-config-xo-typescript/commit/9b65605) ##### [v2.0.0](https://github.com/xojs/eslint-config-xo-typescript/releases/tag/v2.0.0) ##### Breaking - Require Node.js 18 [`ae44391`](https://github.com/xojs/eslint-config-xo-typescript/commit/ae44391) - Ban `Buffer` type in favor of `Uint8Array` [`d7fff2e`](https://github.com/xojs/eslint-config-xo-typescript/commit/d7fff2e) - [Learn more](https://sindresorhus.com/blog/goodbye-nodejs-buffer) ##### New rules - [`@typescript-eslint/prefer-find`](https://typescript-eslint.io/rules/prefer-find/) [`0b25758`](https://github.com/xojs/eslint-config-xo-typescript/commit/0b25758) - [`@typescript-eslint/no-array-delete`](https://typescript-eslint.io/rules/no-array-delete/) [`819862d`](https://github.com/xojs/eslint-config-xo-typescript/commit/819862d) - [`@typescript-eslint/prefer-promise-reject-errors`](https://eslint.org/docs/latest/rules/prefer-promise-reject-errors) [`9533972`](https://github.com/xojs/eslint-config-xo-typescript/commit/9533972) ##### Improvements - `@typescript-eslint/switch-exhaustiveness-check`: Make it stricter [`df07e88`](https://github.com/xojs/eslint-config-xo-typescript/commit/df07e88) --- package.json | 2 +- pnpm-lock.yaml | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 4bf82283..446f70ad 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-config-xo": "^0.46.0", "eslint-config-xo-react": "^0.27.0", - "eslint-config-xo-typescript": "^1.0.1", + "eslint-config-xo-typescript": "^6.0.0", "eslint-plugin-codegen": "0.29.0", "eslint-plugin-functional": "^6.0.0", "eslint-plugin-import-x": "^3.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5ea54d6..a8508642 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,8 +45,8 @@ importers: specifier: ^0.27.0 version: 0.27.0(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.1(eslint@8.57.1))(eslint@8.57.1) eslint-config-xo-typescript: - specifier: ^1.0.1 - version: 1.0.1(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) + specifier: ^6.0.0 + version: 6.0.0(eslint@8.57.1)(typescript@5.6.2) eslint-plugin-codegen: specifier: 0.29.0 version: 0.29.0(eslint@8.57.1) @@ -1849,14 +1849,12 @@ packages: eslint-plugin-react: '>=7.29.0' eslint-plugin-react-hooks: '>=4.3.0' - eslint-config-xo-typescript@1.0.1: - resolution: {integrity: sha512-vPQssnRSUgBFOEfB/KY12CXwltwFSn4RSCfa+w7gjBC2PFQ7Yfgmyei+1XUZ3K+8LRGef2NMJUcxts7PldhDjg==} - engines: {node: '>=16'} + eslint-config-xo-typescript@6.0.0: + resolution: {integrity: sha512-L7iyIircr7x2uzhcv3fE0G6VxafWPTowIOqfKJi6Ho3VvARl9BtAitC0h58OhFCFmRv6duo8giZ25E2Y+HJm3A==} + engines: {node: '>=18.18'} peerDependencies: - '@typescript-eslint/eslint-plugin': '>=6.0.0' - '@typescript-eslint/parser': '>=6.0.0' - eslint: '>=8.0.0' - typescript: '>=4.7' + eslint: '>=9.8.0' + typescript: '>=5.5.0' eslint-config-xo@0.46.0: resolution: {integrity: sha512-mjQUhdTCLQwHUFKf1hhSx1FFhm2jllr4uG2KjaW7gZHGAbjKoSypvo1eQvFk17lHx3bztYjZDDXQmkAZyaSlAg==} @@ -5871,12 +5869,15 @@ snapshots: eslint-plugin-react: 7.35.1(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) - eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2): + eslint-config-xo-typescript@6.0.0(eslint@8.57.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) - '@typescript-eslint/parser': 8.6.0(eslint@8.57.1)(typescript@5.6.2) + '@stylistic/eslint-plugin': 2.6.4(eslint@8.57.1)(typescript@5.6.2) eslint: 8.57.1 + eslint-config-xo: 0.46.0(eslint@8.57.1)(typescript@5.6.2) typescript: 5.6.2 + typescript-eslint: 8.6.0(eslint@8.57.1)(typescript@5.6.2) + transitivePeerDependencies: + - supports-color eslint-config-xo@0.46.0(eslint@8.57.1)(typescript@5.6.2): dependencies: