From f54ca766df3108bd274de0e522a02026370a211c Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sun, 2 Jun 2024 20:23:55 +0200 Subject: [PATCH] AP_Scripting: tests: luacheck.lua: ignore lua-language-server --- libraries/AP_Scripting/tests/luacheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Scripting/tests/luacheck.lua b/libraries/AP_Scripting/tests/luacheck.lua index 2ae950e89f..c200da54b5 100644 --- a/libraries/AP_Scripting/tests/luacheck.lua +++ b/libraries/AP_Scripting/tests/luacheck.lua @@ -8,7 +8,7 @@ ignore = {"111", -- Setting an undefined global variable. "614"} -- Trailing whitespace in a comment. -- These lua scripts are not for running on AP -exclude_files = {"Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua"} +exclude_files = {"Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua", "lua-language-server/*"} -- Grab AP globals from docs file stds.ArduPilot = {}