-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.luacheckrc
62 lines (53 loc) · 1.13 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
std = "lua51"
max_line_length = false
exclude_files = {
".luacheckrc"
}
ignore = {
"11./HBD_.*", -- Setting an undefined (HBD Constants) global variable
"211/_.*", -- Unused local variable starting with _
"212", -- Unused argument
"542", -- empty if branch
}
globals = {
"WorldMapFrame",
}
read_globals = {
"bit",
"floor", "ceil",
"wipe",
-- Third Party addon functions
"GetMinimapShape",
"LibStub",
-- API functions
"C_Map",
"C_Minimap",
"C_Timer",
"CreateFrame",
"GetBuildInfo",
"GetCVar",
"GetPlayerFacing",
"IsLoggedIn",
"UnitPosition",
-- FrameXML functions
"CreateFramePool",
"CreateUnsecuredRegionPoolInstance",
"CreateFromMixins",
"CreateVector2D",
"Lerp",
"Mixin",
-- FrameXML Frames
"Minimap",
"UIParent",
-- FrameXML Misc
"MapCanvasDataProviderMixin",
"MapCanvasPinMixin",
-- Constants
"Enum",
"WOW_PROJECT_ID",
"WOW_PROJECT_MAINLINE",
"WOW_PROJECT_CLASSIC",
"WOW_PROJECT_BURNING_CRUSADE_CLASSIC",
"WOW_PROJECT_WRATH_CLASSIC",
"WOW_PROJECT_CATACLYSM_CLASSIC"
}