mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_Scripting: docs: ignore luacheck warnings
This commit is contained in:
parent
02e9bf6ff5
commit
11f6b5c3ea
@ -2,6 +2,8 @@
|
||||
-- This file should be auto generated and then manual edited
|
||||
-- generate with --scripting-docs, eg ./waf copter --scripting-docs
|
||||
-- see: https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations
|
||||
-- luacheck: ignore 212 (Unused argument)
|
||||
-- luacheck: ignore 241 (Local variable is mutated but never accessed)
|
||||
|
||||
-- set and get for field types share function names
|
||||
---@diagnostic disable: duplicate-set-field
|
||||
|
@ -2898,7 +2898,9 @@ int main(int argc, char **argv) {
|
||||
fprintf(docs, "-- ArduPilot lua scripting documentation in EmmyLua Annotations\n");
|
||||
fprintf(docs, "-- This file should be auto generated and then manual edited\n");
|
||||
fprintf(docs, "-- generate with --scripting-docs, eg ./waf copter --scripting-docs\n");
|
||||
fprintf(docs, "-- see: https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations\n\n");
|
||||
fprintf(docs, "-- see: https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations\n");
|
||||
fprintf(docs, "-- luacheck: ignore 212 (Unused argument)\n");
|
||||
fprintf(docs, "-- luacheck: ignore 241 (Local variable is mutated but never accessed)\n\n");
|
||||
|
||||
emit_docs(parsed_userdata, TRUE, TRUE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user