From 5eaa44fbc0644d1c18a06fa435b364d73d9b1b80 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Fri, 26 Sep 2025 10:53:36 +1000 Subject: [PATCH] fix: add missing prettier plugin (remove later) --- cspell.json | 16 +++++++++++++--- package.json | 1 + pnpm-lock.yaml | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 3 deletions(-) diff --git a/cspell.json b/cspell.json index b80e4e5d..105988ea 100644 --- a/cspell.json +++ b/cspell.json @@ -1,11 +1,21 @@ { "version": "0.2", - "ignorePaths": [], + "ignorePaths": [ + "package.json", + "tsconfig.json" + ], "dictionaryDefinitions": [], - "dictionaries": [], + "dictionaries": [ + "css", + "html", + "node", + "typescript", + "npm" + ], "words": [ "antfu", - "nums" + "nums", + "rahim" ], "ignoreWords": [], "import": [] diff --git a/package.json b/package.json index 7fe1778b..0dc77cd3 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@antfu/eslint-config": "^5.4.1", "@eslint-react/eslint-plugin": "^1.53.1", "@eslint/eslintrc": "^3.3.1", + "@ianvs/prettier-plugin-sort-imports": "^4.7.0", "@prettier/plugin-xml": "^3.4.2", "@types/node": "^22.18.6", "eslint": "^9.36.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61660f0a..f8c8e23c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,6 +17,9 @@ importers: '@eslint/eslintrc': specifier: ^3.3.1 version: 3.3.1 + '@ianvs/prettier-plugin-sort-imports': + specifier: ^4.7.0 + version: 4.7.0(@vue/compiler-sfc@3.5.21)(prettier@3.6.2) '@prettier/plugin-xml': specifier: ^3.4.2 version: 3.4.2(prettier@3.6.2) @@ -819,6 +822,24 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} + '@ianvs/prettier-plugin-sort-imports@4.7.0': + resolution: {integrity: sha512-soa2bPUJAFruLL4z/CnMfSEKGznm5ebz29fIa9PxYtu8HHyLKNE1NXAs6dylfw1jn/ilEIfO2oLLN6uAafb7DA==} + peerDependencies: + '@prettier/plugin-oxc': ^0.0.4 + '@vue/compiler-sfc': 2.7.x || 3.x + content-tag: ^4.0.0 + prettier: 2 || 3 || ^4.0.0-0 + prettier-plugin-ember-template-tag: ^2.1.0 + peerDependenciesMeta: + '@prettier/plugin-oxc': + optional: true + '@vue/compiler-sfc': + optional: true + content-tag: + optional: true + prettier-plugin-ember-template-tag: + optional: true + '@isaacs/fs-minipass@4.0.1': resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==} engines: {node: '>=18.0.0'} @@ -4113,6 +4134,19 @@ snapshots: '@humanwhocodes/retry@0.4.3': {} + '@ianvs/prettier-plugin-sort-imports@4.7.0(@vue/compiler-sfc@3.5.21)(prettier@3.6.2)': + dependencies: + '@babel/generator': 7.28.3 + '@babel/parser': 7.28.4 + '@babel/traverse': 7.28.4 + '@babel/types': 7.28.4 + prettier: 3.6.2 + semver: 7.7.2 + optionalDependencies: + '@vue/compiler-sfc': 3.5.21 + transitivePeerDependencies: + - supports-color + '@isaacs/fs-minipass@4.0.1': dependencies: minipass: 7.1.2