Add a .luacheckrc file for luacheck

This commit is contained in:
HybridDog 2021-01-17 12:52:08 +01:00
parent f1b6da3c20
commit 62a952bc9b
1 changed files with 7 additions and 0 deletions

7
.luacheckrc Normal file
View File

@ -0,0 +1,7 @@
read_globals = {"minetest", "vector", "VoxelArea", "ItemStack",
"table",
"unified_inventory", "sfinv", "smart_inventory", "inventory_plus"
}
globals = {"worldedit"}
-- Ignore these style errors until someone decides to fix them
ignore = {"411", "412", "421", "422", "431", "432", "631"}