Minetest-WorldEditAdditions/.luacheckrc

43 lines
662 B
Plaintext
Raw Normal View History

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