mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-15 12:17:27 +02:00
20 lines
403 B
TypeScript
20 lines
403 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: {
|
|
exclude: ["**/node_modules/**", "**/flatpak/**"],
|
|
},
|
|
});
|