forked from BigWigsMods/Transcriptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
102 lines (99 loc) · 1.69 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
std = "lua51"
max_line_length = false
codes = true
exclude_files = {
"**/Libs",
}
ignore = {
"111/GetBossID",
"111/GetInstanceID",
"111/GetMapArtID",
"111/GetSectionID",
"111/SLASH_GETSPELLS1",
"111/SLASH_TRANSCRIPTOR[123]",
"11[123]/TranscriptDB",
"11[123]/TranscriptIgnore",
"112/SlashCmdList",
"212/self",
}
files["**/Transcriptor_TBC.lua"].ignore = {
"[1-9]",
}
files["**/Transcriptor_Vanilla.lua"].ignore = {
"[1-9]",
}
read_globals = {
-- Lua
"date",
"bit",
"string.join",
"string.split",
"tostringall",
"table.wipe",
-- Addon
"BigWigsLoader",
"DBM",
"LibStub",
-- WoW (general API)
"C_ChatInfo",
"C_DeathInfo",
"C_EncounterJournal",
"C_EventUtils",
"C_GossipInfo",
"C_Map",
"C_Scenario",
"C_UIWidgetManager",
"CombatLogGetCurrentEventInfo",
"EJ_GetEncounterInfo",
"GetBuildInfo",
"GetInstanceInfo",
"GetLocale",
"GetNumGroupMembers",
"GetRealZoneText",
"GetSpellInfo",
"GetSubZoneText",
"GetTime",
"GetZoneText",
"IsAltKeyDown",
"InCombatLockdown",
"IsEncounterInProgress",
"IsEncounterLimitingResurrections",
"IsEncounterSuppressingRelease",
"IsFalling",
"IsInRaid",
"UnitAffectingCombat",
"UnitAura",
"UnitCanAttack",
"UnitCastingInfo",
"UnitChannelInfo",
"UnitClassification",
"UnitCreatureType",
"UnitExists",
"UnitGUID",
"UnitHealth",
"UnitHealthMax",
"UnitInParty",
"UnitInRaid",
"UnitIsFriend",
"UnitIsUnit",
"UnitIsVisible",
"UnitLevel",
"UnitName",
"UnitPercentHealthFromGUID",
"UnitPosition",
"UnitPower",
"UnitPowerMax",
"UnitPowerType",
"UnitTokenFromGUID",
-- WoW (misc)
"ChatFontNormal",
"CLOSE",
"CloseDropDownMenus",
"CreateFrame",
"debugprofilestop",
"EasyMenu",
"Enum",
"GameTooltip",
"GameTooltip_Hide",
"UIParent",
}