Cristiano Magro
2024-08-27 535e04d542520f58a2db8d4d7a222b73e5c96ef1
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
unused_args = false
allow_defined_top = true
max_line_length = 150
-- Allow shadowed variables (callbacks in callbacks)
redefined = false
 
globals = {
    "technic", "minetest",
    "srcstack",
}
 
read_globals = {
    string = {fields = {"split", "trim"}},
    table = {fields = {"copy", "getn"}},
 
    "intllib", "VoxelArea",
    "default", "stairsplus",
 
    "PseudoRandom", "ItemStack",
    "mg", "tubelib", "vector",
 
    "moretrees", "bucket",
    "unified_inventory", "digilines",
 
    "pipeworks", "screwdriver",
    "VoxelManip", "unifieddyes",
 
    "Settings", "mesecon",
    "digiline_remote",
 
    "protector", "isprotect",
    "homedecor_expect_infinite_stacks",
    
    "craftguide", "i3"
}
 
-- Loop warning
files["technic/machines/other/frames.lua"].ignore = { "" }
-- Long lines
files["technic_cnc/cnc_api.lua"].ignore = { "" }