mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
More tweaking
This commit is contained in:
25
biome.json
25
biome.json
@@ -6,6 +6,19 @@
|
||||
"recommended": true,
|
||||
"a11y": {
|
||||
"useKeyWithClickEvents": "off"
|
||||
},
|
||||
"style": {
|
||||
"noRestrictedImports": {
|
||||
"level": "error",
|
||||
"options": {
|
||||
"paths": {
|
||||
"@tauri-apps/api/core": "Use lib/tauri.ts instead of importing @tauri-apps directly",
|
||||
"@tauri-apps/api/event": "Use lib/tauri.ts instead of importing @tauri-apps directly",
|
||||
"@tauri-apps/api/webviewWindow": "Use lib/tauri.ts instead of importing @tauri-apps directly",
|
||||
"@tauri-apps/plugin-os": "Use lib/tauri.ts instead of importing @tauri-apps directly"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -32,6 +45,18 @@
|
||||
"semicolons": "always"
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"includes": ["apps/yaak-proxy/lib/tauri.ts"],
|
||||
"linter": {
|
||||
"rules": {
|
||||
"style": {
|
||||
"noRestrictedImports": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"files": {
|
||||
"includes": [
|
||||
"**",
|
||||
|
||||
Reference in New Issue
Block a user