From ae870a9b730f7d25acd44c44467b43491f583785 Mon Sep 17 00:00:00 2001 From: ChickenPige0n <2336983354@qq.com> Date: Tue, 14 Jul 2026 00:09:33 +0800 Subject: [PATCH] chore(admin-web): add Prettier formatter with Svelte support Add prettier + prettier-plugin-svelte as devDependencies with a .prettierrc.json matching the existing code style (tabs, single quotes, semicolons, trailing commas, 120 char width). Add .prettierignore for build artifacts and lockfile. Wire up `npm run format` (write) and `npm run format:check` (CI gate) scripts. Prettier is chosen over Biome because its prettier-plugin-svelte correctly preserves