-
Notifications
You must be signed in to change notification settings - Fork 4
/
.luacheckrc
73 lines (66 loc) · 1.42 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
self = false
unused_args = false
max_line_length = false
max_code_line_length = false
max_string_line_length = false
max_comment_line_length = false
exclude_files = {
".release",
"Libs/*",
}
std = "lua51"
globals = {
"__chomp_internal",
"AddOn_Chomp",
"ChatThrottleLib.MSG_OVERHEAD",
"ChatThrottleLib.BURST",
"ChatThrottleLib.MAX_CPS",
}
read_globals = {
-- UTF8 library (optional dependency)
"string.utf8lower",
-- LibStub
"LibStub.GetLibrary",
"LibStub.NewLibrary",
-- ChatThrottleLib
"ChatThrottleLib.BNSendGameData",
"ChatThrottleLib.SendAddonMessage",
"ChatThrottleLib.SendAddonMessageLogged",
"ChatThrottleLib.SendChatMessage",
-- Global APIs
"Ambiguate",
"bit.band",
"bit.bor",
"BNET_CLIENT_WOW",
"BNFeaturesEnabledAndConnected",
"BNGetNumFriends",
"C_BattleNet.GetFriendGameAccountInfo",
"C_BattleNet.GetFriendNumGameAccounts",
"C_BattleNet.GetGameAccountInfoByID",
"C_ChatInfo.IsAddonMessagePrefixRegistered",
"C_ChatInfo.RegisterAddonMessagePrefix",
"ChatFrame_AddMessageEventFilter",
"CreateFrame",
"ERR_CHAT_PLAYER_NOT_FOUND_S",
"FULL_PLAYER_NAME",
"GetAutoCompleteRealms",
"GetNetStats",
"GetRealmName",
"GetServerTime",
"GetTime",
"hooksecurefunc",
"IsLoggedIn",
"securecallfunction",
"strcmputf8i",
"string.join",
"string.split",
"tInvert",
"UnitFactionGroup",
"UnitFullName",
"UnitGUID",
"UnitInParty",
"UnitName",
"UNKNOWNOBJECT",
"WOW_PROJECT_ID",
"WOW_PROJECT_MAINLINE",
}