forked from sylvanaar/prat-3-0
-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.luacheckrc
114 lines (108 loc) · 2.2 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
std = "lua51"
max_line_length = false
exclude_files = {
"**/libraries/**/*.lua",
".luacheckrc",
}
ignore = {
"11./SLASH_.*", -- Setting an undefined (Slash handler) global variable
"11./BINDING_.*", -- Setting an undefined (Keybinding header) global variable
"21.", -- Unused argument
}
globals = {
-- Saved Variables
"Prat3CharDB",
"Prat3HighCPUPerCharDB",
-- Prat / Libraries
"Prat",
"Prat_PopupFrame",
"Prat_PopupFrameText",
"LibStub",
-- Lua
"date",
"table.wipe",
"time",
-- Utility functions
"geterrorhandler",
"strsplit",
"tinsert",
"tremove",
-- WoW
"ACCEPT",
"CANCEL",
"CHAT_MSG_BN_WHISPER_INFORM",
"CHAT_MSG_CHANNEL_LIST",
"CHAT_MSG_INSTANCE_CHAT",
"CHAT_MSG_INSTANCE_CHAT_LEADER",
"CHAT_MSG_SAY",
"CHAT_MSG_WHISPER_INFORM",
"DEFAULT_CHAT_FRAME",
"LE_PARTY_CATEGORY_INSTANCE",
"LE_REALM_RELATION_SAME",
"NUM_CHAT_WINDOWS",
"SELECTED_CHAT_FRAME",
"ChatEdit_ChooseBoxForSend",
"ChatEdit_GetActiveWindow",
"ChatFrame1",
"ChatFrame1EditBox",
"ChatFrameChannelButton",
"ChatFrameMenuButton",
"ChatFrameToggleVoiceDeafenButton",
"ChatFrameToggleMuteButton",
"ChatFrame_OpenChat",
"GameFontNormal",
"UIParent",
"SlashCmdList",
"StaticPopupDialogs",
"StaticPopup_Show",
"Ambiguate",
"BNGetFriendInfo", -- Classic
"BNGetFriendInfoByID", -- Classic
"BNGetGameAccountInfo", -- Classic
"BNGetNumFriends",
"ChatTypeInfo",
"CreateFrame",
"GameTooltip",
"GetAverageItemLevel",
"GetBattlefieldScore",
"GetCVar",
"GetLocale",
"GetGuildRosterInfo",
"GetNumBattlefieldScores",
"GetNmGroupMembers",
"GetNumGuildMembers",
"GetMinimapZoneText",
"GetPlayerInfoByGUID",
"GetRaidTargetIndex",
"GetRealmName",
"GetRealZoneText",
"GetServerTime",
"GetTime",
"GetUnitName",
"IsCombatLog",
"IsControlKeyDown",
"IsInGroup",
"IsInGuild",
"IsInInstance",
"IsInRaid",
"IsShiftKeyDown",
"LoggingChat",
"LoggingCombat",
"PlaySound",
"UnitClass",
"UnitCreatureFamily",
"UnitCreatureType",
"UnitGUID",
"UnitExists",
"UnitHealth",
"UnitHealthMax",
"UnitIsFriend",
"UnitIsPlayer",
"UnitLevel",
"UnitName",
"UnitPower",
"UnitPowerMax",
"UnitRace",
"UnitSex",
"UnitRealmRelationship",
}