mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: tests: check.json: check files it gitignore but not self
This commit is contained in:
parent
c5cdc46fb7
commit
93642026aa
|
@ -1,4 +1,5 @@
|
||||||
{ // lua-language-server config for checking
|
{ // lua-language-server config for checking
|
||||||
|
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
||||||
"runtime.version": "Lua 5.3",
|
"runtime.version": "Lua 5.3",
|
||||||
"runtime.builtin": {
|
"runtime.builtin": {
|
||||||
// Not all of the standard functionality is available
|
// Not all of the standard functionality is available
|
||||||
|
@ -10,6 +11,10 @@
|
||||||
"table.clear": "disable",
|
"table.clear": "disable",
|
||||||
"table.new": "disable"
|
"table.new": "disable"
|
||||||
},
|
},
|
||||||
// These lua scripts are not for running on AP
|
"workspace": {
|
||||||
"workspace.ignoreDir": ["Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua" ],
|
// These lua scripts are not for running on AP
|
||||||
|
"ignoreDir": ["Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua", "lua-language-server/*"],
|
||||||
|
// Dont use gitignore, it results in skipping checks for in progress scripts running in SITL
|
||||||
|
"useGitIgnore": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue