Minetest-WorldEditAdditions/.luacheckrc

42 lines
634 B
Text
Raw Normal View History

2021-07-30 18:03:40 +00:00
quiet = 1
codes = true
exclude_files = {
2021-07-30 18:52:36 +00:00
".luarocks/*",
"worldeditadditions_core/utils/bit.lua"
2021-07-30 18:03:40 +00:00
}
files["worldeditadditions_core/register/check.lua"] = { read_globals = { "table" } }
2021-07-30 18:03:40 +00:00
2021-07-30 18:52:36 +00:00
ignore = {
"631", "61[124]",
2021-07-30 18:58:23 +00:00
"542",
2021-07-30 18:52:36 +00:00
"412",
"321/bit",
"21[123]"
}
2021-07-30 18:03:40 +00:00
-- Read-write globals (i.e. they can be defined)
globals = {
"worldedit",
"worldeditadditions",
"worldeditadditions_commands",
"worldeditadditions_core",
2021-07-30 18:03:40 +00:00
}
-- Read-only globals
read_globals = {
"minetest",
"vector",
"assert",
"bit",
"it",
"describe",
"bonemeal",
"dofile",
2022-05-24 01:24:43 +00:00
"PerlinNoise",
"Settings",
"VoxelArea",
"pova" -- optional mod support
2021-07-30 18:03:40 +00:00
}
std = "max"