mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-13 12:13:42 +01:00
37 lines
923 B
TypeScript
37 lines
923 B
TypeScript
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
staged: {
|
|
"*": "vp check --fix",
|
|
},
|
|
// Preserve generated output and upstream fixtures. 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/**",
|
|
"plugins/importer-bruno/tests/fixtures/upstream/**",
|
|
],
|
|
},
|
|
lint: {
|
|
ignorePatterns: [
|
|
"npm/**",
|
|
"crates/yaak-templates/pkg/**",
|
|
"crates/yaak-wasm/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/**"],
|
|
},
|
|
});
|