Add staged pre-commit checks

This commit is contained in:
Gregory Schier
2026-05-13 14:22:43 -07:00
parent bde5a474cc
commit dcfdf077e7
2 changed files with 4 additions and 0 deletions

View File

@@ -1 +1,2 @@
vp lint
vp staged

View File

@@ -1,6 +1,9 @@
import { defineConfig } from "vite-plus";
export default defineConfig({
staged: {
"*": "vp check --fix",
},
lint: {
ignorePatterns: ["npm/**", "crates/yaak-templates/pkg/**", "**/bindings/gen_*.ts"],
options: {