mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-15 12:17:27 +02:00
Add staged pre-commit checks
This commit is contained in:
@@ -1 +1,2 @@
|
||||
vp lint
|
||||
vp staged
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user