mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-09-09 19:31:57 +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:vp": "vp lint",
|
||||||
"lint:workspaces": "npm run --workspaces --if-present lint",
|
"lint:workspaces": "npm run --workspaces --if-present lint",
|
||||||
"replace-version": "node scripts/replace-version.cjs",
|
"replace-version": "node scripts/replace-version.cjs",
|
||||||
"format": "vp fmt --ignore-path .oxfmtignore",
|
"format": "vp fmt",
|
||||||
"tauri": "tauri",
|
"tauri": "tauri",
|
||||||
"client:tauri-before-build": "npm run bootstrap",
|
"client:tauri-before-build": "npm run bootstrap",
|
||||||
"client:tauri-before-dev": "node scripts/run-workspaces-dev.mjs apps/yaak-client",
|
"client:tauri-before-dev": "node scripts/run-workspaces-dev.mjs apps/yaak-client",
|
||||||
|
|||||||
+16
-1
@@ -4,8 +4,23 @@ export default defineConfig({
|
|||||||
staged: {
|
staged: {
|
||||||
"*": "vp check --fix",
|
"*": "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: {
|
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: {
|
options: {
|
||||||
typeAware: true,
|
typeAware: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user