forked from roblox-ts/services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
86 lines (78 loc) · 1.64 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
78
79
80
81
82
83
84
85
86
-- luacheck: ignore
stds.roblox = {
globals = {
-- global functions
"script",
"warn",
"wait",
"spawn",
"delay",
"tick",
"UserSettings",
"settings",
"time",
"typeof",
"game",
"unpack",
"getfenv",
"setfenv",
"shared",
"workspace",
"plugin",
-- types
"Axes",
"BrickColor",
"CFrame",
"Color3",
"ColorSequence",
"ColorSequenceKeypoint",
"Enum",
"Faces",
"Instance",
"NumberRange",
"NumberSequence",
"NumberSequenceKeypoint",
"PhysicalProperties",
"Ray",
"Random",
"Rect",
"Region3",
"Region3int16",
"TweenInfo",
"UDim",
"UDim2",
"Vector2",
"Vector3",
"Vector3int16",
"DockWidgetPluginGuiInfo",
-- libraries
"utf8",
math = {
fields = {
"clamp",
"sign",
"noise",
}
},
debug = {
fields = {
"profilebegin",
"profileend",
"traceback",
}
}
}
}
ignore = {
"212", -- Unused argument.
"213", -- Unused loop variable.
"421", -- Shadowing a local variable.
"423", -- Shadowing a loop variable.
"431", -- Shadowing an upvalue.
"432", -- Shadowing an upvalue argument.
}
std = "lua51+roblox"
-- prevent max line lengths
max_code_line_length = false
max_string_line_length = false
max_comment_line_length = false