Add luacheckrc file

master
Starbeamrainbowlabs 2021-07-31 01:35:52 +01:00
parent a540f2f396
commit 87210d75c3
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
1 changed files with 37 additions and 0 deletions

37
.luacheckrc Normal file
View File

@ -0,0 +1,37 @@
quiet = 1
codes = true
exclude_files = {
".luarocks/*",
"worldeditadditions/utils/bit.lua"
}
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",
"worldedit_hud_helper"
}
-- Read-only globals
read_globals = {
"minetest",
"vector",
"assert",
"bit",
"it",
"describe",
"bonemeal",
"dofile"
}
std = "max"