-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.luacheckrc
125 lines (120 loc) · 2.43 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
std = "lua51"
max_line_length = false
codes = true
exclude_files = {
"**/Libs",
}
ignore = {
"111/SLASH_BASICMINIMAP[12]", -- slash handlers
"111/GetMinimapShape",
"112/SlashCmdList", -- SlashCmdList.BASICMINIMAP
"122/Minimap", -- Minimap.ZoomIn.IsMouseOver
}
read_globals = {
-- Lua
"date",
"tonumber",
-- Addon
"BasicMinimap",
"CUSTOM_CLASS_COLORS",
"LibStub",
-- WoW (general API)
"AnchorUtil",
"CreateFrame",
"C_AddOns",
"C_Calendar",
"C_DateAndTime",
"C_PvP",
"C_Map",
"C_Timer",
"EnableAddOn",
"GameTime_GetGameTime",
"GameTime_GetLocalTime",
"GetCVarBool",
"GetGameTime",
"GetLocale",
"GetMinimapZoneText",
"GetSubZoneText",
"GetZonePVPInfo",
"GetZoneText",
"HIGHLIGHT_FONT_COLOR",
"hooksecurefunc",
"InCombatLockdown",
"LoadAddOn",
"NORMAL_FONT_COLOR",
"RAID_CLASS_COLORS",
"ReloadUI",
"SecondsToTime",
"ToggleDropDownMenu",
"UIParent",
"UnitClass",
-- WoW (global strings)
"COMBAT_ZONE",
"CONTESTED_TERRITORY",
"DAILY",
"FACTION_CONTROLLED_TERRITORY",
"FREE_FOR_ALL_TERRITORY",
"GAMETIME_TOOLTIP_TOGGLE_CLOCK",
"MONTH_JANUARY",
"MONTH_FEBRUARY",
"MONTH_MARCH",
"MONTH_APRIL",
"MONTH_MAY",
"MONTH_JUNE",
"MONTH_JULY",
"MONTH_AUGUST",
"MONTH_SEPTEMBER",
"MONTH_OCTOBER",
"MONTH_NOVEMBER",
"MONTH_DECEMBER",
"RESET",
"SANCTUARY_TERRITORY",
"STAT_FORMAT",
"TIMEMANAGER_TICKER_24HOUR",
"TIMEMANAGER_TICKER_12HOUR",
"TIMEMANAGER_TOOLTIP_LOCALTIME",
"TIMEMANAGER_TOOLTIP_REALMTIME",
"TIMEMANAGER_TOOLTIP_TITLE",
"WEEKLY",
-- WoW (minimap related)
"AddonCompartmentFrame",
"ExpansionLandingPageMinimapButton",
"GameTimeFrame",
"GarrisonLandingPageMinimapButton",
"GuildInstanceDifficulty",
"HybridMinimap",
"Minimap",
"MinimapBackdrop",
"MinimapBorder",
"MinimapBorderTop",
"MiniMapChallengeMode",
"MinimapCluster",
"MiniMapInstanceDifficulty",
"MiniMapMailFrame",
"MiniMapMailIcon",
"MiniMapCraftingOrderIcon",
"MinimapNorthTag",
"MiniMapTracking",
"MiniMapTrackingButton",
"MiniMapTrackingDropDown",
"MiniMapWorldMapButton",
"MinimapZoneText",
"MinimapZoneTextButton",
"MinimapZoomIn",
"MinimapZoomOut",
"Minimap_OnClick",
"Minimap_ZoomInClick",
"Minimap_ZoomOutClick",
"QueueStatusMinimapButton",
"TimeManagerClockButton",
"TimeManagerClockTicker",
"TimeManagerFrame",
"ToggleWorldMap",
-- Classic
"LFGMinimapFrame", -- classic era
"MiniMapBattlefieldFrame",
"MinimapToggleButton",
"MiniMapLFGFrame", -- tbc and beyond
"GetTrackingTexture",
"MiniMapTrackingIcon",
}