-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.luacheckrc
77 lines (76 loc) · 1.14 KB
/
.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
max_line_length = 160
std = {
-- Solar2D API and other global libraries.
globals = {
"_G",
"al",
"assert",
"audio",
"cloneArray",
"collectgarbage",
"coronabaselib",
"coroutine",
"debug",
"display",
"dofile",
"easing",
"error",
"gcinfo",
"getfenv",
"getmetatable",
"graphics",
"io",
"ipairs",
"lfs",
"load",
"loadfile",
"loadstring",
"lpeg",
"math",
"media",
"metatable",
"module",
"native",
"network",
"newproxy",
"next",
"os",
"package",
"pairs",
"pcall",
"physics",
"print",
"rawequal",
"rawget",
"rawset",
"require",
"Runtime",
"select",
"sendLaunchAnalytics",
"setfenv",
"setmetatable",
"string",
"system",
"table",
"timer",
"tonumber",
"tostring",
"transition",
"type",
"unpack",
"xpcall",
"application",
"settings",
"utils",
}
}
-- Commonly used Solar2D/Lua 5.1 function arguments,
-- as well as Luacheck configuration's own globals.
ignore = {
"self",
"event",
"arg",
"ignore",
"std",
"max_line_length",
}