mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-09-07 02:17:22 +02:00
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:
co-authored by
Claude Opus 5
parent
222ea9cb83
commit
e63a87718c
@@ -1,3 +0,0 @@
|
||||
**/bindings/**
|
||||
**/routeTree.gen.ts
|
||||
crates/yaak-templates/pkg/**
|
||||
+1
-1
@@ -100,7 +100,7 @@
|
||||
"lint:vp": "vp lint",
|
||||
"lint:workspaces": "npm run --workspaces --if-present lint",
|
||||
"replace-version": "node scripts/replace-version.cjs",
|
||||
"format": "vp fmt --ignore-path .oxfmtignore",
|
||||
"format": "vp fmt",
|
||||
"tauri": "tauri",
|
||||
"client:tauri-before-build": "npm run bootstrap",
|
||||
"client:tauri-before-dev": "node scripts/run-workspaces-dev.mjs apps/yaak-client",
|
||||
|
||||
+16
-1
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user