Update .luacheckrc
parent
5eef41c403
commit
5db31aceee
28
.luacheckrc
28
.luacheckrc
|
@ -1,3 +1,27 @@
|
|||
-- FIXME testing some minetest-mods/i3 luacheck settings
|
||||
|
||||
allow_defined_top
|
||||
|
||||
read_globals = {
|
||||
"minetest",
|
||||
"armor",
|
||||
"skins",
|
||||
"awards",
|
||||
"vector",
|
||||
"string",
|
||||
"table",
|
||||
"ItemStack",
|
||||
"VoxelArea",
|
||||
"VoxelManip",
|
||||
}
|
||||
|
||||
globals = {
|
||||
"i3",
|
||||
"core",
|
||||
"sfinv",
|
||||
"unified_inventory",
|
||||
}
|
||||
|
||||
ignore = {
|
||||
-- list taken from https://stackoverflow.com/questions/49158143/how-to-ignore-luacheck-warnings/49160695#56618022 as
|
||||
-- all the third party mods would be hard to manage otherwise
|
||||
|
@ -56,5 +80,7 @@ ignore = {
|
|||
"631", -- Line is too long.
|
||||
}
|
||||
|
||||
|
||||
exclude_files = {
|
||||
"i3
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue