Update .luacheckrc

master
Milan 2022-03-14 21:57:40 +01:00
parent 5eef41c403
commit 5db31aceee
1 changed files with 27 additions and 1 deletions

View File

@ -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
}