forked from Nevcairiel/GatherMate2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.luacheckrc
More file actions
83 lines (72 loc) · 1.42 KB
/
.luacheckrc
File metadata and controls
83 lines (72 loc) · 1.42 KB
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
std = "lua51"
max_line_length = false
exclude_files = {
".luacheckrc",
"Locales/",
}
ignore = {
"211/_.*", -- Unused local variable starting with _
"212", -- unused argument
"213", -- Unused loop variable
"542", -- empty if branch
}
globals = {
"GatherMate2",
"GatherMate2WorldMapPinMixin",
"GatherMate2_GenericDropDownMenu",
"SlashCmdList",
"SLASH_GatherMate21",
"BINDING_HEADER_GatherMate2",
"BINDING_NAME_TOGGLE_GATHERMATE2_MAINMAPICONS",
"BINDING_NAME_TOGGLE_GATHERMATE2_MINIMAPICONS",
}
read_globals = {
"max", "min", "floor", "ceil",
"table", "tinsert", "wipe",
-- misc custom, third party libraries
"LibStub", "TomTom",
-- Namespaces
"C_AddOns",
"C_CVar",
"C_Item",
"C_Map",
"C_Minimap",
"C_ResearchInfo",
"C_Spell",
-- API
"CombatLogGetCurrentEventInfo",
"CreateFrame",
"GetBindingAction",
"GetBindingKey",
"GetBindingText",
"GetCurrentBindingSet",
"GetLocale",
"GetMinimapShape",
"GetPlayerFacing",
"GetProfessionInfo",
"GetProfessions",
"IsShiftKeyDown",
"SaveBindings",
"SetBinding",
"UnitName",
-- FrameXML
"CreateFromMixins",
"GameTooltip",
"MapCanvasDataProviderMixin",
"MapCanvasPinMixin",
"Minimap",
"MinimapCluster",
"Settings",
"UIParent",
"WorldMapFrame",
"CloseDropDownMenus",
"ToggleDropDownMenu",
"UIDropDownMenu_AddButton",
-- strings & constants
"CLOSE",
"GRAY_FONT_COLOR_CODE",
"GREEN_FONT_COLOR_CODE",
"KEY_BOUND",
"KEY_UNBOUND_ERROR",
"NORMAL_FONT_COLOR",
}