-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
60 lines (54 loc) · 871 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
53
54
55
56
57
58
59
60
std = "lua52c"
max_line_length = false
read_globals = {
log = {},
serpent = {
fields = {
'block',
'line'
}
},
table = {
fields = {
'deepcopy'
}
},
util = {
fields = {
'combine_icons',
'parse_energy'
}
}
}
local data_settings = {
read_globals = {
data = {
fields = {
raw = {
read_only = false,
other_fields = true
},
'extend'
}
},
'accumulator_picture'
},
globals = {
'BatteryPack'
}
}
local control_settings = {
read_globals = {
'game',
'defines',
'script'
},
globals = {
'global',
}
}
files["control.lua"] = control_settings
files["data.lua"] = data_settings
files["data-updates.lua"] = data_settings
files["data-final-fixes.lua"] = data_settings
files["prototypes/**/*.lua"] = data_settings