mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: tests: add config files for checks and docs generation
This commit is contained in:
parent
613074e6e8
commit
cc159a44d5
|
@ -0,0 +1,15 @@
|
|||
{ // lua-language-server config for checking
|
||||
"runtime.version": "Lua 5.3",
|
||||
"runtime.builtin": {
|
||||
// Not all of the standard functionality is available
|
||||
"coroutine": "disable",
|
||||
"os": "disable",
|
||||
"debug": "disable",
|
||||
"ffi": "disable",
|
||||
"jit": "disable",
|
||||
"table.clear": "disable",
|
||||
"table.new": "disable"
|
||||
},
|
||||
// These lua scripts are not for running on AP
|
||||
"workspace.ignoreDir": ["Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua" ],
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{ // lua-language-server config for docs generation
|
||||
"runtime.version": "Lua 5.3",
|
||||
"runtime.builtin": {
|
||||
"basic": "disable",
|
||||
"bit": "disable",
|
||||
"bit32": "disable",
|
||||
"builtin": "disable",
|
||||
"coroutine": "disable",
|
||||
"debug": "disable",
|
||||
"ffi": "disable",
|
||||
"io": "disable",
|
||||
"jit": "disable",
|
||||
"math": "disable",
|
||||
"os": "disable",
|
||||
"package": "disable",
|
||||
"string": "disable",
|
||||
"table": "disable",
|
||||
"table.clear": "disable",
|
||||
"table.new": "disable",
|
||||
"utf8": "disable"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue