Fix a load of issues, add luacheck and travis
This commit is contained in:
parent
c21b192f82
commit
7bd82dca86
28 changed files with 144 additions and 107 deletions
35
.luacheckrc
Normal file
35
.luacheckrc
Normal file
|
@ -0,0 +1,35 @@
|
|||
unused_args = false
|
||||
allow_defined_top = true
|
||||
|
||||
exclude_files = {
|
||||
"mods/default",
|
||||
"mods/ctf_pvp_engine",
|
||||
"mods/shooter",
|
||||
"mods/wield3d",
|
||||
"mods/treasurer",
|
||||
}
|
||||
|
||||
|
||||
globals = {
|
||||
"crafting", "vector", "table", "minetest",
|
||||
"worldedit", "ctf", "ctf_flag", "ctf_colors",
|
||||
"hudkit", "default", "treasurer", "ChatCmdBuilder",
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
"dump", "DIR_DELIM",
|
||||
"sfinv", "creative",
|
||||
"irc",
|
||||
"VoxelArea", "ItemStack",
|
||||
"Settings",
|
||||
"prometheus", "hb",
|
||||
|
||||
|
||||
-- Testing
|
||||
"describe",
|
||||
"it",
|
||||
"assert",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue