From 9534bba77bb305f0424a893852470ec2d9ae24c3 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Fri, 31 May 2024 13:04:35 +0800 Subject: [PATCH] chore: update lint config (#29) --- eslint.config.mjs | 21 +---- package.json | 2 +- pnpm-lock.yaml | 202 +++++++++++++++++++++++++++++++++------------- 3 files changed, 151 insertions(+), 74 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index bc4d8b46f..c9297f824 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,5 +1,5 @@ // @ts-check -import defineConfig, { DEFAULT_GLOB_TS_SRC } from "eslint-config-hyoban" +import defineConfig, { GLOB_TS_SRC } from "eslint-config-hyoban" export default defineConfig( { @@ -11,24 +11,11 @@ export default defineConfig( quotes: "double", arrowParens: true, braceStyle: "1tbs", + lineBreak: "after", }, + lessOpinionated: true, ignores: ["src/renderer/src/hono.ts"], }, - { - rules: { - // change for less opinionated - "curly": ["error", "multi-line", "consistent"], - "antfu/if-newline": "off", - "antfu/top-level-function": "off", - "hyoban/prefer-early-return": "off", - "@typescript-eslint/array-type": "off", - "@typescript-eslint/consistent-type-definitions": "off", - - // change to more like prettier - "@stylistic/operator-linebreak": ["error", "after"], - "@stylistic/max-statements-per-line": "off", - }, - }, // fix later or just always ignore { rules: { @@ -38,7 +25,7 @@ export default defineConfig( }, }, { - files: DEFAULT_GLOB_TS_SRC, + files: GLOB_TS_SRC, rules: { "@eslint-react/no-unstable-context-value": "warn", "react-compiler/react-compiler": "warn", diff --git a/package.json b/package.json index ad6a504a8..5ddc5fb40 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "electron-builder": "^24.9.1", "electron-vite": "^2.2.0", "eslint": "^9.3.0", - "eslint-config-hyoban": "^2.9.4", + "eslint-config-hyoban": "3.0.0-beta.7", "lint-staged": "15.2.5", "postcss": "8.4.38", "postcss-js": "4.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0cc7ca729..cbcf1784d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -220,8 +220,8 @@ importers: specifier: ^9.3.0 version: 9.3.0 eslint-config-hyoban: - specifier: ^2.9.4 - version: 2.9.4(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(tailwindcss@3.4.3)(typescript@5.4.5) + specifier: 3.0.0-beta.7 + version: 3.0.0-beta.7(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(tailwindcss@3.4.3)(typescript@5.4.5) lint-staged: specifier: 15.2.5 version: 15.2.5 @@ -1911,22 +1911,22 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@7.11.0': - resolution: {integrity: sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/eslint-plugin@8.0.0-alpha.20': + resolution: {integrity: sha512-/dBqhcdiVHB3SzaU5Mczy1QoVel8hZ8TX7T2WE1Qq2ujrv4X9I2/H2DMHnNtmlcGY9hcezsPtu76BTiZAeMQqw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 + '@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/parser@7.11.0': - resolution: {integrity: sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/parser@8.0.0-alpha.20': + resolution: {integrity: sha512-C1gnMM1k6i0phZ7l6HJPecVIGMErrONnurQ9ssRBZNek7gJInDGEDUC7LlL3QIWxFkHcdwYXWzuc7IueyxU6YQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: @@ -1936,6 +1936,10 @@ packages: resolution: {integrity: sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/scope-manager@8.0.0-alpha.20': + resolution: {integrity: sha512-+Ncj0Q6DT8ZHYNp8h5RndW4Siv52kiPpHEz/i8Sj2rh2y8ZCc5pKSHSslk+eZi0Bdj+/+swNOmDNcL2CrlaEnA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/type-utils@7.11.0': resolution: {integrity: sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==} engines: {node: ^18.18.0 || >=20.0.0} @@ -1946,10 +1950,23 @@ packages: typescript: optional: true + '@typescript-eslint/type-utils@8.0.0-alpha.20': + resolution: {integrity: sha512-/eUDosUnJlEwzRFPwaKYM3H0VS+40oXx+5ZN+CFCtdXMZjGsTwKM3XNvI+4orisjn+qhNVlHZby4PHnH8qAh8Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/types@7.11.0': resolution: {integrity: sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/types@8.0.0-alpha.20': + resolution: {integrity: sha512-xpU1rMQfnnNZxpHN6YUfr18sGOMcpC9hvt54fupcU6N1qMCagEtkRt1U15x086oJAgAITJGa67454ffAoCxv/w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@7.11.0': resolution: {integrity: sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -1959,16 +1976,35 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.0.0-alpha.20': + resolution: {integrity: sha512-VQ8Mf8upDCuf0uMTjX/Pdw3gvCZomkG43nuThUuzhK3YFwFmIDTqx0ZWSsYJkVGfll0WrXgIua+rKSP/n6NBWw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@7.11.0': resolution: {integrity: sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 + '@typescript-eslint/utils@8.0.0-alpha.20': + resolution: {integrity: sha512-0aMhjDTvIrkGkHqyM0ZByAwR8BV1f2HhKdYyjtxko8S/Ca4PGjOIjub6VoF+bQwCRxEuV8viNUld78rqm9jqLA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/visitor-keys@7.11.0': resolution: {integrity: sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/visitor-keys@8.0.0-alpha.20': + resolution: {integrity: sha512-ej06rfct0kalfJgIR8nTR7dF1mgfF83hkylrYas7IAElHfgw4zx99BUGa6VrnHZ1PkxdJBp5PgcO2FmmlOoaRQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -2749,11 +2785,15 @@ packages: eslint-config-flat-gitignore@0.1.5: resolution: {integrity: sha512-hEZLwuZjDBGDERA49c2q7vxc8sCGv8EdBp6PQYzGOMcHIgrfG9YOM6s/4jx24zhD+wnK9AI8mgN5RxSss5nClQ==} - eslint-config-hyoban@2.9.4: - resolution: {integrity: sha512-/2jII53PbLm48bEuNT5fkk+x1SRHR3yniOfR3PTXo2Fiz2OPsN7f4E8qTwX5u8Ni0dtqDaA/d2dtfhZwpjXqcw==} + eslint-config-hyoban@3.0.0-beta.7: + resolution: {integrity: sha512-F+2d0m//HfpFhD5ulSjwZwAsoKg1+EOxYWDBWr8bSlzQsBhcq/6eGhriKkUJ2GbXyCllRdqFv9lZlDc6KBvPUQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 || ^9.0.0 - typescript: '>=4.7.4' + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4' + peerDependenciesMeta: + typescript: + optional: true eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} @@ -2822,8 +2862,8 @@ packages: eslint: ^8.57.0 || ^9.0.0 typescript: ^5.3.3 - eslint-plugin-react-hooks@5.1.0-rc-d3ce0d3ea9-20240520: - resolution: {integrity: sha512-mUYP0RPtUThj7W4zNut9rd/SLthZyZFM2dksMWM9AkAS77LZfZpBgfNDI1uxhTzvMOape1VrlPdpJ4UzHuWt6g==} + eslint-plugin-react-hooks@5.1.0-rc-f994737d14-20240522: + resolution: {integrity: sha512-i0vo8qO0orIDrF1/TAENznU+zMuuN+518bs+DtKJlGw3nttFQjvI7xR4v6KLfLsZo4th9s1Aq3Fzr5RY5hyiAg==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 @@ -4836,11 +4876,10 @@ packages: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} - typescript-eslint@7.11.0: - resolution: {integrity: sha512-ZKe3yHF/IS/kCUE4CGE3UgtK+Q7yRk1e9kwEI0rqm9XxMTd9P1eHe0LVVtrZ3oFuIQ2unJ9Xn0vTsLApzJ3aPw==} - engines: {node: ^18.18.0 || >=20.0.0} + typescript-eslint@8.0.0-alpha.20: + resolution: {integrity: sha512-/cx37A2S+AOne5uFpD8GzHzV5b/7wncAh4agmIRieAZWXJWbRcue7e8RI6LnpQ7CHy9IHPmALcHcXPXogM6jcQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: @@ -5972,21 +6011,21 @@ snapshots: - supports-color - typescript - '@eslint-react/eslint-plugin@1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5)': + '@eslint-react/eslint-plugin@1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5)': dependencies: '@eslint-react/shared': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/tools': 1.5.14 '@eslint-react/types': 1.5.14(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/type-utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/types': 7.11.0 '@typescript-eslint/utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) eslint: 9.3.0 - eslint-plugin-react-core: 1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) - eslint-plugin-react-dom: 1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) - eslint-plugin-react-hooks-extra: 1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) - eslint-plugin-react-naming-convention: 1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) + eslint-plugin-react-core: 1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) + eslint-plugin-react-dom: 1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) + eslint-plugin-react-hooks-extra: 1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) + eslint-plugin-react-naming-convention: 1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -6932,14 +6971,14 @@ snapshots: '@types/node': 20.12.13 optional: true - '@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@8.0.0-alpha.20(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.11.0 - '@typescript-eslint/type-utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.11.0 + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/scope-manager': 8.0.0-alpha.20 + '@typescript-eslint/type-utils': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/utils': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.20 eslint: 9.3.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -6950,12 +6989,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5)': + '@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5)': dependencies: - '@typescript-eslint/scope-manager': 7.11.0 - '@typescript-eslint/types': 7.11.0 - '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.11.0 + '@typescript-eslint/scope-manager': 8.0.0-alpha.20 + '@typescript-eslint/types': 8.0.0-alpha.20 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.20(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.20 debug: 4.3.4 eslint: 9.3.0 optionalDependencies: @@ -6968,6 +7007,11 @@ snapshots: '@typescript-eslint/types': 7.11.0 '@typescript-eslint/visitor-keys': 7.11.0 + '@typescript-eslint/scope-manager@8.0.0-alpha.20': + dependencies: + '@typescript-eslint/types': 8.0.0-alpha.20 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.20 + '@typescript-eslint/type-utils@7.11.0(eslint@9.3.0)(typescript@5.4.5)': dependencies: '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) @@ -6980,8 +7024,22 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/type-utils@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5)': + dependencies: + '@typescript-eslint/typescript-estree': 8.0.0-alpha.20(typescript@5.4.5) + '@typescript-eslint/utils': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) + debug: 4.3.4 + ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: + typescript: 5.4.5 + transitivePeerDependencies: + - eslint + - supports-color + '@typescript-eslint/types@7.11.0': {} + '@typescript-eslint/types@8.0.0-alpha.20': {} + '@typescript-eslint/typescript-estree@7.11.0(typescript@5.4.5)': dependencies: '@typescript-eslint/types': 7.11.0 @@ -6997,6 +7055,21 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.0.0-alpha.20(typescript@5.4.5)': + dependencies: + '@typescript-eslint/types': 8.0.0-alpha.20 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.20 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.4 + semver: 7.6.2 + ts-api-utils: 1.3.0(typescript@5.4.5) + optionalDependencies: + typescript: 5.4.5 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@7.11.0(eslint@9.3.0)(typescript@5.4.5)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.3.0) @@ -7008,11 +7081,27 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.3.0) + '@typescript-eslint/scope-manager': 8.0.0-alpha.20 + '@typescript-eslint/types': 8.0.0-alpha.20 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.20(typescript@5.4.5) + eslint: 9.3.0 + transitivePeerDependencies: + - supports-color + - typescript + '@typescript-eslint/visitor-keys@7.11.0': dependencies: '@typescript-eslint/types': 7.11.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.0.0-alpha.20': + dependencies: + '@typescript-eslint/types': 8.0.0-alpha.20 + eslint-visitor-keys: 3.4.3 + '@ungap/structured-clone@1.2.0': {} '@use-gesture/core@10.3.1': {} @@ -7996,10 +8085,10 @@ snapshots: find-up: 7.0.0 parse-gitignore: 2.0.0 - eslint-config-hyoban@2.9.4(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(tailwindcss@3.4.3)(typescript@5.4.5): + eslint-config-hyoban@3.0.0-beta.7(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(tailwindcss@3.4.3)(typescript@5.4.5): dependencies: '@cspell/eslint-plugin': 8.8.3(eslint@9.3.0) - '@eslint-react/eslint-plugin': 1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) + '@eslint-react/eslint-plugin': 1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) '@eslint/js': 9.3.0 '@stylistic/eslint-plugin': 2.1.0(eslint@9.3.0)(typescript@5.4.5) '@types/eslint': 8.56.10 @@ -8013,7 +8102,7 @@ snapshots: eslint-plugin-jsonc: 2.16.0(eslint@9.3.0) eslint-plugin-package-json: 0.13.1(eslint@9.3.0)(jsonc-eslint-parser@2.4.0) eslint-plugin-react-compiler: 0.0.0-experimental-c8b3f72-20240517(eslint@9.3.0) - eslint-plugin-react-hooks: 5.1.0-rc-d3ce0d3ea9-20240520(eslint@9.3.0) + eslint-plugin-react-hooks: 5.1.0-rc-f994737d14-20240522(eslint@9.3.0) eslint-plugin-react-refresh: 0.4.7(eslint@9.3.0) eslint-plugin-regexp: 2.6.0(eslint@9.3.0) eslint-plugin-simple-import-sort: 12.1.0(eslint@9.3.0) @@ -8022,8 +8111,9 @@ snapshots: eslint-plugin-unused-imports: 4.0.0(eslint@9.3.0) globals: 15.3.0 jsonc-eslint-parser: 2.4.0 + typescript-eslint: 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) + optionalDependencies: typescript: 5.4.5 - typescript-eslint: 7.11.0(eslint@9.3.0)(typescript@5.4.5) transitivePeerDependencies: - '@typescript-eslint/eslint-plugin' - '@typescript-eslint/parser' @@ -8107,7 +8197,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-react-core@1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): + eslint-plugin-react-core@1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): dependencies: '@eslint-react/ast': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/core': 1.5.14(eslint@9.3.0)(typescript@5.4.5) @@ -8116,7 +8206,7 @@ snapshots: '@eslint-react/tools': 1.5.14 '@eslint-react/types': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/var': 1.5.14(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/type-utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/types': 7.11.0 @@ -8129,7 +8219,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-react-dom@1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): + eslint-plugin-react-dom@1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): dependencies: '@eslint-react/ast': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/core': 1.5.14(eslint@9.3.0)(typescript@5.4.5) @@ -8138,7 +8228,7 @@ snapshots: '@eslint-react/tools': 1.5.14 '@eslint-react/types': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/var': 1.5.14(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/types': 7.11.0 '@typescript-eslint/utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) @@ -8149,7 +8239,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks-extra@1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): + eslint-plugin-react-hooks-extra@1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): dependencies: '@eslint-react/ast': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/core': 1.5.14(eslint@9.3.0)(typescript@5.4.5) @@ -8158,7 +8248,7 @@ snapshots: '@eslint-react/tools': 1.5.14 '@eslint-react/types': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/var': 1.5.14(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/type-utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/types': 7.11.0 @@ -8170,11 +8260,11 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks@5.1.0-rc-d3ce0d3ea9-20240520(eslint@9.3.0): + eslint-plugin-react-hooks@5.1.0-rc-f994737d14-20240522(eslint@9.3.0): dependencies: eslint: 9.3.0 - eslint-plugin-react-naming-convention@1.5.14(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): + eslint-plugin-react-naming-convention@1.5.14(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5): dependencies: '@eslint-react/ast': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/core': 1.5.14(eslint@9.3.0)(typescript@5.4.5) @@ -8182,7 +8272,7 @@ snapshots: '@eslint-react/shared': 1.5.14(eslint@9.3.0)(typescript@5.4.5) '@eslint-react/tools': 1.5.14 '@eslint-react/types': 1.5.14(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.11.0 '@typescript-eslint/type-utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) '@typescript-eslint/types': 7.11.0 @@ -10495,15 +10585,15 @@ snapshots: type-fest@0.8.1: {} - typescript-eslint@7.11.0(eslint@9.3.0)(typescript@5.4.5): + typescript-eslint@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5): dependencies: - '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.11.0(eslint@9.3.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.11.0(eslint@9.3.0)(typescript@5.4.5) - eslint: 9.3.0 + '@typescript-eslint/eslint-plugin': 8.0.0-alpha.20(@typescript-eslint/parser@8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5))(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/parser': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) + '@typescript-eslint/utils': 8.0.0-alpha.20(eslint@9.3.0)(typescript@5.4.5) optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: + - eslint - supports-color typescript@5.4.5: {}