capturetheflag/.luacheckrc
ANAND 5eb5d3311a
Improve log messages (#422)
- Add log messages wherever required/useful
- Remove unnecessary log messages and print statements
- Convert print statements to minetest.log
- Fix incorrect log level for some messages
- Trivial code-style fixes
2019-10-18 11:22:18 +05:30

38 lines
745 B
Lua

unused_args = false
allow_defined_top = true
exclude_files = {
"mods/mtg/default",
"mods/ctf_pvp_engine",
"mods/pvp/shooter",
"mods/other/wield3d",
"mods/other/treasurer",
}
ignore = {"631"}
globals = {
"crafting", "vector", "table", "minetest", "worldedit", "ctf", "ctf_flag",
"ctf_colors", "hudkit", "default", "treasurer", "ChatCmdBuilder", "ctf_map",
"ctf_match", "ctf_stats", "ctf_treasure", "ctf_playertag", "chatplus", "irc",
"armor", "vote", "give_initial_stuff"
}
read_globals = {
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn"}},
"dump", "DIR_DELIM",
"sfinv", "creative",
"VoxelArea", "ItemStack",
"Settings",
"prometheus", "hb",
"awards",
-- Testing
"describe",
"it",
"assert",
}