-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.luacheckrc
83 lines (79 loc) · 1.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
std = "lua51"
max_line_length = false
codes = true
exclude_files = {
"**/Libs",
}
ignore = {
"111/SLASH_Capping1", -- slash handlers
"113/BasicMessageDialog", -- Alterac Valley popup
"212/self", -- (W212) unused argument self
}
globals = {
-- Addon
"CappingAPI",
"CappingFrame",
"LibStub",
-- WoW (general API)
"C_AddOns",
"C_AreaPoiInfo",
"C_ChatInfo",
"C_CurrencyInfo",
"C_CVar",
"C_GossipInfo",
"C_Item",
"C_Minimap",
"C_PvP",
"C_Spell",
"C_Texture",
"C_Timer",
"C_UIWidgetManager",
"CombatLogGetCurrentEventInfo",
"CompleteQuest",
"CreateFrame",
"GetBattlefieldEstimatedWaitTime",
"GetBattlefieldPortExpiration",
"GetBattlefieldStatus",
"GetBattlefieldTimeWaited",
"GetBattlegroundInfo",
"geterrorhandler",
"GetInstanceInfo",
"GetItemCount",
"GetLocale",
"GetNumBattlegroundTypes",
"GetNumQuestRewards",
"GetQuestReward",
"GetRealmName",
"GetSpellInfo",
"GetSpellTexture",
"GetTime",
"IsAltKeyDown",
"IsControlKeyDown",
"IsInGroup",
"IsQuestCompletable",
"IsShiftKeyDown",
"PlaySound",
"RaidNotice_AddMessage",
"RaidWarningFrame_OnEvent",
"ReloadUI",
"RequestBattlefieldScoreData",
"SendChatMessage",
"StopSound",
"strmatch",
"strsplit",
"UnitGUID",
"UnitHealth",
"UnitHealthMax",
"UnitName",
"UnitPosition",
-- WoW (global tables)
"RaidBossEmoteFrame",
"SlashCmdList",
"TimerTracker",
"UIParent",
-- WoW (global strings)
"ARENA",
"TIME_REMAINING",
-- Classic WoW
"GetBattlefieldScore",
}