From db09f137c4b589191bb9769d48946de2ef4aae19 Mon Sep 17 00:00:00 2001 From: JongKyung Lee Date: Tue, 6 Oct 2026 21:18:33 +0900 Subject: [PATCH] docs: align staged examples with scaffolded defaults --- docs/config/staged.md | 2 +- docs/guide/commit-hooks.md | 2 +- docs/guide/migrate.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config/staged.md b/docs/config/staged.md index 11393c798c..85c83bb089 100644 --- a/docs/config/staged.md +++ b/docs/config/staged.md @@ -9,7 +9,7 @@ import { defineConfig } from 'vite-plus'; export default defineConfig({ staged: { - '*.{js,ts,tsx,vue,svelte}': 'vp check --fix', + '*': 'vp check --fix', }, }); ``` diff --git a/docs/guide/commit-hooks.md b/docs/guide/commit-hooks.md index 6b3fe4be6e..77de59360c 100644 --- a/docs/guide/commit-hooks.md +++ b/docs/guide/commit-hooks.md @@ -108,7 +108,7 @@ import { defineConfig } from 'vite-plus'; export default defineConfig({ staged: { - '*.{js,ts,tsx,vue,svelte}': 'vp check --fix', + '*': 'vp check --fix', }, }); ``` diff --git a/docs/guide/migrate.md b/docs/guide/migrate.md index 035e7acf05..a00efcf20c 100644 --- a/docs/guide/migrate.md +++ b/docs/guide/migrate.md @@ -229,7 +229,7 @@ import { defineConfig } from 'vite-plus'; export default defineConfig({ staged: { - '*.{js,ts,tsx,vue,svelte}': 'vp check --fix', + '*': 'vp check --fix', }, }); ```