Improve EmmyLua config (#15362)
This commit is contained in:
1 parent
fe3775b077
commit
4181d51a1d
1 file changed
+12
-3
+12
-3
@@ -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"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user