diff --git a/package.json b/package.json index d31d02ee1d..ce02eea768 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "@stylistic/eslint-plugin": "^2.11.0", "@typescript-eslint/eslint-plugin": "^8.16.0", "@typescript-eslint/parser": "^8.16.0", - "@vitest/eslint-plugin": "^1.1.11", + "@vitest/eslint-plugin": "^1.1.12", "eslint-config-flat-gitignore": "^0.3.0", "eslint-flat-config-utils": "^0.4.0", "eslint-merge-processors": "^0.1.0", @@ -140,7 +140,7 @@ "@prettier/plugin-xml": "^3.4.1", "@stylistic/eslint-plugin-migrate": "^2.11.0", "@types/fs-extra": "^11.0.4", - "@types/node": "^22.10.0", + "@types/node": "^22.10.1", "@types/prompts": "^2.4.9", "@types/yargs": "^17.0.33", "@unocss/eslint-plugin": "^0.64.1", @@ -164,7 +164,7 @@ "prettier-plugin-slidev": "^1.0.5", "rimraf": "^6.0.1", "simple-git-hooks": "^2.11.1", - "svelte": "^5.2.9", + "svelte": "^5.2.10", "svelte-eslint-parser": "^0.43.0", "tsup": "^8.3.5", "tsx": "^4.19.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 88760e2975..2f0e5e60a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: ^8.16.0 version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) '@vitest/eslint-plugin': - specifier: ^1.1.11 - version: 1.1.11(@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)) + specifier: ^1.1.12 + version: 1.1.12(@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.1)) eslint-config-flat-gitignore: specifier: ^0.3.0 version: 0.3.0(eslint@9.15.0(jiti@2.4.0)) @@ -142,8 +142,8 @@ importers: specifier: ^11.0.4 version: 11.0.4 '@types/node': - specifier: ^22.10.0 - version: 22.10.0 + specifier: ^22.10.1 + version: 22.10.1 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -179,7 +179,7 @@ importers: version: 0.14.4(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) eslint-plugin-svelte: specifier: ^2.46.0 - version: 2.46.0(eslint@9.15.0(jiti@2.4.0))(svelte@5.2.9) + version: 2.46.0(eslint@9.15.0(jiti@2.4.0))(svelte@5.2.10) eslint-typegen: specifier: ^0.3.2 version: 0.3.2(eslint@9.15.0(jiti@2.4.0)) @@ -214,11 +214,11 @@ importers: specifier: ^2.11.1 version: 2.11.1 svelte: - specifier: ^5.2.9 - version: 5.2.9 + specifier: ^5.2.10 + version: 5.2.10 svelte-eslint-parser: specifier: ^0.43.0 - version: 0.43.0(svelte@5.2.9) + version: 0.43.0(svelte@5.2.10) tsup: specifier: ^8.3.5 version: 8.3.5(jiti@2.4.0)(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.5.0) @@ -230,7 +230,7 @@ importers: version: 5.7.2 vitest: specifier: ^2.1.6 - version: 2.1.6(@types/node@22.10.0) + version: 2.1.6(@types/node@22.10.1) vue: specifier: ^3.5.13 version: 3.5.13(typescript@5.7.2) @@ -1050,8 +1050,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.10.0': - resolution: {integrity: sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==} + '@types/node@22.10.1': + resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==} '@types/normalize-package-data@2.4.3': resolution: {integrity: sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==} @@ -1141,8 +1141,8 @@ packages: resolution: {integrity: sha512-5Q1dI+oKpG1o9CLWukriOFXJZu11VOEpqdx8DbroRzNoJYY4Fq6st132e3L9PcxJtq8o1sX6YnhoVjUKvasRzQ==} engines: {node: '>=14'} - '@vitest/eslint-plugin@1.1.11': - resolution: {integrity: sha512-f24vqvW1GE94Qs1qIelMdhTaYoVS6TbNz7V/1xc1A7gggoz21Lon3bDh8SRoesRpXSJ+23fXUc9cOUAKoGgZ8g==} + '@vitest/eslint-plugin@1.1.12': + resolution: {integrity: sha512-iv9K9fz9qRxBo9J/PGSMcLdOFIKqtFZ6THqSVG/jW8CJZFkIWLxPduCTXkbyG6FNKgL49fkv348nSgmfqCU6FA==} peerDependencies: '@typescript-eslint/utils': ^8.16.0 eslint: ^9.15.0 @@ -1902,8 +1902,8 @@ packages: jiti: optional: true - esm-env@1.1.4: - resolution: {integrity: sha512-oO82nKPHKkzIj/hbtuDYy/JHqBHFlMIW36SDiPCVsj87ntDLcWN+sJ1erdVryd4NxODacFTsdrIE3b7IamqbOg==} + esm-env@1.2.0: + resolution: {integrity: sha512-OhSQuHL3mUcaQHjGe8UMG8GsJIJHYYz0flR0h9fiTPNMupLMkb7TvcRD0EeJXW5a8GHBgfz08b6FDLNK7kkPQA==} esno@4.8.0: resolution: {integrity: sha512-acMtooReAQGzLU0zcuEDHa8S62meh5aIyi8jboYxyvAePdmuWx2Mpwmt0xjwO0bs9/SXf+dvXJ0QJoDWw814Iw==} @@ -3121,8 +3121,8 @@ packages: svelte: optional: true - svelte@5.2.9: - resolution: {integrity: sha512-LjO7R6K8FI8dA3l+4CcsbJ3djIe2TtokHGzfpDTro5g8nworMbTz9alCR95EQXGsqlzIAvqJtZ7Yy0o33lL09Q==} + svelte@5.2.10: + resolution: {integrity: sha512-ON0OyO7vOmSjTc9mLjusu3vf1I7BvjovbiRB7j84F1WZMXV6dR+Tj4btIzxQxMHfzbGskaFmRa7qjgmBSVBnhQ==} engines: {node: '>=18'} synckit@0.6.2: @@ -4145,13 +4145,13 @@ snapshots: '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.3 - '@types/node': 22.10.0 + '@types/node': 22.10.1 '@types/json-schema@7.0.15': {} '@types/jsonfile@6.1.3': dependencies: - '@types/node': 22.10.0 + '@types/node': 22.10.1 '@types/mdast@4.0.4': dependencies: @@ -4159,7 +4159,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.10.0': + '@types/node@22.10.1': dependencies: undici-types: 6.20.0 @@ -4167,7 +4167,7 @@ snapshots: '@types/prompts@2.4.9': dependencies: - '@types/node': 22.10.0 + '@types/node': 22.10.1 kleur: 3.0.3 '@types/unist@3.0.3': {} @@ -4281,13 +4281,13 @@ snapshots: - supports-color - typescript - '@vitest/eslint-plugin@1.1.11(@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0))': + '@vitest/eslint-plugin@1.1.12(@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.1))': dependencies: '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) eslint: 9.15.0(jiti@2.4.0) optionalDependencies: typescript: 5.7.2 - vitest: 2.1.6(@types/node@22.10.0) + vitest: 2.1.6(@types/node@22.10.1) '@vitest/expect@2.1.6': dependencies: @@ -4296,13 +4296,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.6(vite@5.0.5(@types/node@22.10.0))': + '@vitest/mocker@2.1.6(vite@5.0.5(@types/node@22.10.1))': dependencies: '@vitest/spy': 2.1.6 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.0.5(@types/node@22.10.0) + vite: 5.0.5(@types/node@22.10.1) '@vitest/pretty-format@2.1.6': dependencies: @@ -5143,7 +5143,7 @@ snapshots: - supports-color - typescript - eslint-plugin-svelte@2.46.0(eslint@9.15.0(jiti@2.4.0))(svelte@5.2.9): + eslint-plugin-svelte@2.46.0(eslint@9.15.0(jiti@2.4.0))(svelte@5.2.10): dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@9.15.0(jiti@2.4.0)) '@jridgewell/sourcemap-codec': 1.5.0 @@ -5156,9 +5156,9 @@ snapshots: postcss-safe-parser: 6.0.0(postcss@8.4.49) postcss-selector-parser: 6.1.0 semver: 7.6.3 - svelte-eslint-parser: 0.43.0(svelte@5.2.9) + svelte-eslint-parser: 0.43.0(svelte@5.2.10) optionalDependencies: - svelte: 5.2.9 + svelte: 5.2.10 transitivePeerDependencies: - ts-node @@ -5289,7 +5289,7 @@ snapshots: transitivePeerDependencies: - supports-color - esm-env@1.1.4: {} + esm-env@1.2.0: {} esno@4.8.0: dependencies: @@ -6630,7 +6630,7 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-eslint-parser@0.43.0(svelte@5.2.9): + svelte-eslint-parser@0.43.0(svelte@5.2.10): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -6638,9 +6638,9 @@ snapshots: postcss: 8.4.49 postcss-scss: 4.0.9(postcss@8.4.49) optionalDependencies: - svelte: 5.2.9 + svelte: 5.2.10 - svelte@5.2.9: + svelte@5.2.10: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 @@ -6649,7 +6649,7 @@ snapshots: acorn-typescript: 1.4.13(acorn@8.14.0) aria-query: 5.3.2 axobject-query: 4.1.0 - esm-env: 1.1.4 + esm-env: 1.2.0 esrap: 1.2.2 is-reference: 3.0.3 locate-character: 3.0.0 @@ -6842,13 +6842,13 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite-node@2.1.6(@types/node@22.10.0): + vite-node@2.1.6(@types/node@22.10.1): dependencies: cac: 6.7.14 debug: 4.3.7 es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.0.5(@types/node@22.10.0) + vite: 5.0.5(@types/node@22.10.1) transitivePeerDependencies: - '@types/node' - less @@ -6859,19 +6859,19 @@ snapshots: - supports-color - terser - vite@5.0.5(@types/node@22.10.0): + vite@5.0.5(@types/node@22.10.1): dependencies: esbuild: 0.19.12 postcss: 8.4.49 rollup: 4.26.0 optionalDependencies: - '@types/node': 22.10.0 + '@types/node': 22.10.1 fsevents: 2.3.3 - vitest@2.1.6(@types/node@22.10.0): + vitest@2.1.6(@types/node@22.10.1): dependencies: '@vitest/expect': 2.1.6 - '@vitest/mocker': 2.1.6(vite@5.0.5(@types/node@22.10.0)) + '@vitest/mocker': 2.1.6(vite@5.0.5(@types/node@22.10.1)) '@vitest/pretty-format': 2.1.6 '@vitest/runner': 2.1.6 '@vitest/snapshot': 2.1.6 @@ -6887,11 +6887,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.0.5(@types/node@22.10.0) - vite-node: 2.1.6(@types/node@22.10.0) + vite: 5.0.5(@types/node@22.10.1) + vite-node: 2.1.6(@types/node@22.10.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.10.0 + '@types/node': 22.10.1 transitivePeerDependencies: - less - lightningcss diff --git a/src/configs/perfectionist.ts b/src/configs/perfectionist.ts index 7bd68a5b27..da191d398f 100644 --- a/src/configs/perfectionist.ts +++ b/src/configs/perfectionist.ts @@ -19,11 +19,11 @@ export async function perfectionist(): Promise { 'perfectionist/sort-imports': ['error', { groups: [ 'type', - ['parent-type', 'sibling-type', 'index-type'], + ['parent-type', 'sibling-type', 'index-type', 'internal-type'], 'builtin', 'external', - ['internal', 'internal-type'], + 'internal', ['parent', 'sibling', 'index'], 'side-effect', 'object',