mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-10 19:16:55 +02:00
Migrate to Vite+ unified toolchain (#428)
This commit is contained in:
16
vite.config.ts
Normal file
16
vite.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vite-plus';
|
||||
|
||||
export default defineConfig({
|
||||
lint: {
|
||||
ignorePatterns: ['npm/**', 'crates/yaak-templates/pkg/**', '**/bindings/gen_*.ts'],
|
||||
options: {
|
||||
typeAware: true,
|
||||
},
|
||||
rules: {
|
||||
'typescript/no-explicit-any': 'error',
|
||||
},
|
||||
},
|
||||
test: {
|
||||
exclude: ['**/node_modules/**', '**/flatpak/**'],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user