-
Notifications
You must be signed in to change notification settings - Fork 39
/
.luacheckrc
32 lines (25 loc) · 897 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
-- luacheck: ignore
globals = {
-- global variables
"game", "script",
-- global functions
"delay", "getfenv", "setfenv", "settings", "spawn", "tick", "time",
"typeof", "unpack", "UserSettings", "wait", "warn", "version",
-- types
"Axes", "BrickColor", "CFrame", "Color3", "ColorSequence", "ColorSequenceKeypoint",
"Enum", "Faces", "Instance", "NumberRange", "NumberSequence", "NumberSequenceKeypoint",
"PhysicalProperties", "Random", "Ray", "Rect", "Region3", "Region3int16", "TweenInfo",
"UDim", "UDim2", "Vector2", "Vector3", "Vector3int16",
-- math library
"math.clamp", "math.noise", "math.sign",
-- debug library
"debug.profilebegin", "debug.profileend",
"it", "expect", "describe",
}
-- fix methods
ignore = {"self", "super"}
-- prevent max line lengths
max_line_length = false
max_code_line_length = false
max_string_line_length = false
max_comment_line_length = false