Files
yaak-mountain-loop/vite.config.ts
T
Gregory Schier d43de3d95a Keep nested worktrees out of test runs
Test runs from the repo root were picking up every git worktree under .claude,
running 648 tests across 102 files instead of 322 across 34. That made results
misleading rather than just noisy: a failure in an unrelated worktree showed up
as a failure here.

Ignores the directory too. Only settings.local.json was listed, while rules.md
stays tracked.
2026-08-13 09:04:02 -07:00

21 lines
508 B
TypeScript

import { defineConfig } from "vite-plus";
export default defineConfig({
staged: {
"*": "vp check --fix",
},
lint: {
ignorePatterns: ["npm/**", "crates/yaak-templates/pkg/**", "**/bindings/gen_*.ts"],
options: {
typeAware: true,
},
rules: {
"typescript/no-explicit-any": "error",
},
},
test: {
// Nested git worktrees live under .claude, and their tests are not this checkout's
exclude: ["**/node_modules/**", "**/flatpak/**", "**/.claude/**"],
},
});