mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: add luacheck config
This commit is contained in:
parent
e1db6e38e2
commit
fd1a72cc6d
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
-- Don't check globals yet. This requires us to add a list of all the AP bindings
|
||||||
|
global = false
|
||||||
|
|
||||||
|
-- https://luacheck.readthedocs.io/en/stable/warnings.html
|
||||||
|
ignore = {"631", -- Line is too long
|
||||||
|
"611", -- A line consists of nothing but whitespace.
|
||||||
|
"612", -- A line contains trailing whitespace.
|
||||||
|
"614"} -- Trailing whitespace in a comment.
|
||||||
|
|
||||||
|
-- These lua scripts are not for running on AP
|
||||||
|
exclude_files = {"Tools/CHDK-Scripts/*", "modules/*"}
|
Loading…
Reference in New Issue