-
Notifications
You must be signed in to change notification settings - Fork 10
/
.luacheckrc
52 lines (47 loc) · 866 Bytes
/
.luacheckrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
max_line_length = 240
ignore = {
--setting a read-only field of a global variable
--"122",
--unused globals
--"131",
--setting and acessing undefined fields of global variables
--"14.",
--unused variables and arguments
"21.",
--setting and never acessing variables
"23.",
--whitespace
"61.",
--TODO: check which ones these are
"621",
"631"
}
read_globals = {
-- minetest
"AreaStore",
"dump",
"minetest",
"vector",
"VoxelManip",
"VoxelArea",
"ItemStack",
-- mods
"default", "doors",
-- special minetest functions
"table.copy",
}
globals = {
-- modpack mods
"building_sign",
"working_villages",
-- submodule mods
"modutil",
"LuaVenusCompiler"
}
allow_defined_top = true
exclude_files = {
-- development files
"working_villagers/development",
-- bad syntax is tested here
"working_villagers/modutil/LuaVenusCompiler/testout"
}