From 4181d51a1d7d6b94d42fa804570cc5a6c0299797 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sun, 10 May 2026 13:01:07 +0200 Subject: [PATCH] Improve EmmyLua config (#15362) --- .emmyrc.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.emmyrc.json b/.emmyrc.json index e2cbcc6d0..f8cfc6822 100644 --- a/.emmyrc.json +++ b/.emmyrc.json @@ -1,13 +1,22 @@ { "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json", "workspace": { + "ignoreDir": [ + "base/build", + "base/thirdparty" + ], "ignoreGlobs": [ - "base/build/**/**", - "base/third_party/**/**" - ] + "koreader-*/**" + ], + "workspaceRoots": [ + "./base", + "./frontend", + "./plugins/exporter.koplugin" + ] }, "diagnostics": { "globals": [ + "G_defaults", "G_reader_settings" ] },