fix(tooling): keep the formatter off generated files in every entry point (#615)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Gregory Schier
2026-09-01 07:40:42 -07:00
committed by GitHub
co-authored by Claude Opus 5
parent 222ea9cb83
commit e63a87718c
3 changed files with 17 additions and 5 deletions
+16 -1
View File
@@ -4,8 +4,23 @@ export default defineConfig({
staged: {
"*": "vp check --fix",
},
// Generated output, reformatted only to be undone by the next regen. Read by every formatter
// entry point, including the `staged` task above.
fmt: {
ignorePatterns: [
"**/bindings/**",
"**/routeTree.gen.ts",
"crates/yaak-templates/pkg/**",
"crates/yaak-wasm/pkg/**",
],
},
lint: {
ignorePatterns: ["npm/**", "crates/yaak-templates/pkg/**", "crates/yaak-wasm/pkg/**", "**/bindings/gen_*.ts"],
ignorePatterns: [
"npm/**",
"crates/yaak-templates/pkg/**",
"crates/yaak-wasm/pkg/**",
"**/bindings/gen_*.ts",
],
options: {
typeAware: true,
},