Improve EmmyLua config (#15362)

This commit is contained in:
Frans de Jonge authored and GitHub committed 2026-05-10 13:01:07 +02:00
1 parent fe3775b077
commit 4181d51a1d
1 file changed
+12 -3
+12 -3
View File
@@ -1,13 +1,22 @@
{ {
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json", "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
"workspace": { "workspace": {
"ignoreDir": [
"base/build",
"base/thirdparty"
],
"ignoreGlobs": [ "ignoreGlobs": [
"base/build/**/**", "koreader-*/**"
"base/third_party/**/**" ],
] "workspaceRoots": [
"./base",
"./frontend",
"./plugins/exporter.koplugin"
]
}, },
"diagnostics": { "diagnostics": {
"globals": [ "globals": [
"G_defaults",
"G_reader_settings" "G_reader_settings"
] ]
}, },