-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
74 lines (67 loc) · 977 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
-- luacheck: ignore
globals = {
-- global functions
"script",
"warn",
"wait",
"spawn",
"delay",
"tick",
"UserSettings",
"settings",
"time",
"typeof",
"game",
"workspace",
"unpack",
"getfenv",
"setfenv",
-- types
"Axes",
"BrickColor",
"CFrame",
"Color3",
"ColorSequence",
"ColorSequenceKeypoint",
"Enum",
"Faces",
"Instance",
"NumberRange",
"NumberSequence",
"NumberSequenceKeypoint",
"PhysicalProperties",
"Ray",
"Rect",
"Region3",
"Region3int16",
"TweenInfo",
"UDim",
"UDim2",
"Vector2",
"Vector3",
"Vector3int16",
-- math library
"math.clamp",
"math.sign",
-- debug
"debug.profilebegin",
"debug.profileend",
"stats"
}
ignore = {
-- fix methods
"self",
"super",
"512",
"611",
"612",
"614",
"542"
}
--http://luacheck.readthedocs.io/en/stable/warnings.html
-- prevent max line lengths
max_line_length = false
max_code_line_length = false
max_string_line_length = false
max_comment_line_length = false
unused = false