Add luacheck (#3)

Co-authored-by: syimyuzya <syimyuzya@gmail.com>
This commit is contained in:
OgelGames
2021-12-09 15:46:33 +11:00
committed by GitHub
parent 30d0af57be
commit aa5f865131
5 changed files with 49 additions and 29 deletions

17
.luacheckrc Normal file
View File

@ -0,0 +1,17 @@
unused_args = false
max_line_length = 180
globals = {
"minetest",
"signs_lib",
}
read_globals = {
-- Builtin
table = {fields = {"copy"}},
"ItemStack", "vector",
-- Mod deps
"intllib",
"screwdriver",
}