mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-17 07:10:19 +02:00
Add code linting with luacheck
With luacheck mistakes in Lua code can be found, e.g. the use of undefined variables, and the code style can be checked. For the github workflow I copied Panquesito7's check-release.yml file.
This commit is contained in:
8
.luacheckrc
Normal file
8
.luacheckrc
Normal file
@ -0,0 +1,8 @@
|
||||
read_globals = {"minetest", "vector", "VoxelArea", "ItemStack",
|
||||
"table",
|
||||
"unified_inventory", "sfinv", "smart_inventory", "inventory_plus"
|
||||
}
|
||||
globals = {"worldedit"}
|
||||
-- Ignore these errors until someone decides to fix them
|
||||
ignore = {"113", "211", "212", "213", "311", "312", "411", "412", "421", "422",
|
||||
"431", "432", "611", "614", "621", "631"}
|
Reference in New Issue
Block a user