Add .luacheckrc and fix warnings.

This commit is contained in:
Diego Martínez
2017-02-16 02:36:04 -03:00
parent 6bbb26f9f9
commit 33542b07fe
5 changed files with 31 additions and 16 deletions

14
.luacheckrc Normal file
View File

@ -0,0 +1,14 @@
unused_args = false
allow_defined_top = true
read_globals = {
"minetest",
}
exclude_files = {
"irc/*",
}
globals = {
}