-
Notifications
You must be signed in to change notification settings - Fork 2
/
.luacheckrc
54 lines (47 loc) · 1009 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
stds.roblox = {
globals = {
"game",
"workspace",
"script",
},
read_globals = {
-- Extra functions
"tick", "warn", "spawn",
"wait", "settings", "typeof",
"delay", "time", "version",
-- Libraries
"debug",
-- Types
"Enum",
"Axes", "BrickColor", "CFrame", "Color3", "ColorSequence",
"ColorSequenceKeypoint", "Faces","Instance","NumberRange",
"NumberSequence", "NumberSequenceKeypoint", "PhysicalProperties",
"Ray", "Rect", "Region3", "Region3int16", "TweenInfo",
"UDim", "UDim2",
"Vector2", "Vector2int16", "Vector3", "Vector3int16",
}
}
stds.testez = {
read_globals = {
"describe",
"it", "itFOCUS", "itSKIP",
"FOCUS", "SKIP", "HACK_NO_XPCALL",
"expect",
}
}
stds.plugin = {
read_globals = {
"plugin",
}
}
ignore = {
"212", -- unused arguments
"421", -- shadowing local variable
"422", -- shadowing argument
-- "431", -- shadowing upvalue
-- "432", -- shadowing upvalue argument
}
std = "lua51+roblox"
files["**/*.spec.lua"] = {
std = "+testez",
}