-
Notifications
You must be signed in to change notification settings - Fork 16
/
.luacheckrc
52 lines (48 loc) · 776 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
codes = true
cache = true
std = "max"
globals = { "xero" }
max_line_length = 120
max_cyclomatic_complexity = 20
read_globals = {
"GAMESTATE";
"DISPLAYMAN";
"SCREENMAN";
"stable_sort";
"copy";
"iclear";
}
ignore = {
"413";
"213";
"561";
"421";
"422";
}
files['template/ease.lua'] = {
ignore = {
"111"; -- read unknown global
"113"; -- write unknown global
}
}
files['template/sort.lua'] = {
ignore = {
"421";
"412";
}
}
files['template/std.lua'] = {
globals = {
"copy";
"clear";
"iclear";
"perframe_data_structure";
"stringbuilder";
}
}
files['template/require.lua'] = {
globals = {
"require";
"package";
}
}