From 4821a93829abd4743c556ab5609ec4fe3ddd17e1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 23:25:55 +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 | 118 ++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 107 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 3302f94f..ad74f94d 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,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.28.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 e8c5f8c6..7a28823b 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.0))(eslint-plugin-react@7.35.0(eslint@8.57.0))(eslint@8.57.0) eslint-config-xo-typescript: - specifier: ^1.0.1 - version: 1.0.1(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + specifier: ^6.0.0 + version: 6.0.0(eslint@8.57.0)(typescript@5.5.4) eslint-plugin-codegen: specifier: 0.28.0 version: 0.28.0(eslint@8.57.0) @@ -978,6 +978,17 @@ packages: typescript: optional: true + '@typescript-eslint/eslint-plugin@8.2.0': + resolution: {integrity: sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/experimental-utils@5.59.11': resolution: {integrity: sha512-GkQGV0UF/V5Ra7gZMBmiD1WrYUFOJNvCZs+XQnUyJoxmqfWMXVNyB2NVCPRKefoQcpvTv9UpJyfCvsJFs8NzzQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1004,6 +1015,16 @@ packages: typescript: optional: true + '@typescript-eslint/parser@8.2.0': + resolution: {integrity: sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/scope-manager@5.59.11': resolution: {integrity: sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1044,6 +1065,15 @@ packages: typescript: optional: true + '@typescript-eslint/type-utils@8.2.0': + resolution: {integrity: sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/types@5.59.11': resolution: {integrity: sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1825,14 +1855,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==} @@ -3799,6 +3827,15 @@ packages: typescript: optional: true + typescript-eslint@8.2.0: + resolution: {integrity: sha512-DmnqaPcML0xYwUzgNbM1XaKXpEb7BShYf2P1tkUmmcl8hyeG7Pj08Er7R9bNy6AufabywzJcOybQAtnD/c9DGw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -4841,6 +4878,24 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/eslint-plugin@8.2.0(@typescript-eslint/parser@8.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@eslint-community/regexpp': 4.11.0 + '@typescript-eslint/parser': 8.2.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.2.0 + '@typescript-eslint/type-utils': 8.2.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.2.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.2.0 + eslint: 8.57.0 + graphemer: 1.4.0 + ignore: 5.3.2 + natural-compare: 1.4.0 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/experimental-utils@5.59.11(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/utils': 5.59.11(eslint@8.57.0)(typescript@5.5.4) @@ -4875,6 +4930,19 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/parser@8.2.0(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/scope-manager': 8.2.0 + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.2.0 + debug: 4.3.6 + eslint: 8.57.0 + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/scope-manager@5.59.11': dependencies: '@typescript-eslint/types': 5.59.11 @@ -4924,6 +4992,18 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/type-utils@8.2.0(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.2.0(eslint@8.57.0)(typescript@5.5.4) + debug: 4.3.6 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - eslint + - supports-color + '@typescript-eslint/types@5.59.11': {} '@typescript-eslint/types@6.19.1': {} @@ -5872,12 +5952,15 @@ snapshots: eslint-plugin-react: 7.35.0(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) - eslint-config-xo-typescript@1.0.1(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4): + eslint-config-xo-typescript@6.0.0(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@stylistic/eslint-plugin': 2.6.4(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 + eslint-config-xo: 0.46.0(eslint@8.57.0)(typescript@5.5.4) typescript: 5.5.4 + typescript-eslint: 8.2.0(eslint@8.57.0)(typescript@5.5.4) + transitivePeerDependencies: + - supports-color eslint-config-xo@0.46.0(eslint@8.57.0)(typescript@5.5.4): dependencies: @@ -8059,6 +8142,17 @@ snapshots: transitivePeerDependencies: - supports-color + typescript-eslint@8.2.0(eslint@8.57.0)(typescript@5.5.4): + dependencies: + '@typescript-eslint/eslint-plugin': 8.2.0(@typescript-eslint/parser@8.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/parser': 8.2.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.2.0(eslint@8.57.0)(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - eslint + - supports-color + typescript@5.5.4: {} ufo@1.5.3: {}