mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-15 08:02:08 +02:00
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.
21 lines
508 B
TypeScript
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/**"],
|
|
},
|
|
});
|