Minetest-WorldEditAdditions/.luacheckrc
Starbeamrainbowlabs 440cdcc504
Fix luacheck
The problem was that we moved bit.lua from worldeditadditions to worldeditadditions_core, but failed to update .luacheckrc
2022-09-20 20:03:36 +01:00

40 lines
586 B
Lua

quiet = 1
codes = true
exclude_files = {
".luarocks/*",
"worldeditadditions_core/utils/bit.lua"
}
files["worldeditadditions_core/register/check.lua"] = { read_globals = { "table" } }
ignore = {
"631", "61[124]",
"542",
"412",
"321/bit",
"21[123]"
}
-- Read-write globals (i.e. they can be defined)
globals = {
"worldedit",
"worldeditadditions",
"worldeditadditions_commands",
"worldeditadditions_core"
}
-- Read-only globals
read_globals = {
"minetest",
"vector",
"assert",
"bit",
"it",
"describe",
"bonemeal",
"dofile",
"PerlinNoise",
"Settings"
}
std = "max"