-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.luacheckrc
87 lines (83 loc) · 1.55 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
std = "lua51"
max_line_length = false
codes = true
exclude_files = {
"**/Libs",
}
ignore = {
"211/L", -- Unused local variable "L"
"212", -- Unused argument
"213", -- Unused loop variable
"311", -- Value assigned to a local variable is unused (local var = nil :F)
}
globals = {
"LibStub",
"CONFIGMODE_CALLBACKS",
"SLASH_PARROT1", "SLASH_PARROT2", "SlashCmdList",
"GameTooltip",
"UIParent",
"Enum",
"bit",
"BreakUpLargeNumbers",
"cos",
"C_CurrencyInfo",
"C_Spell",
"C_SpellBook",
"CombatLogGetCurrentEventInfo",
"CopyTable",
"CreateFrame",
"format",
"GetBuildInfo",
"GetComboPoints",
"GetCVarDefault",
"geterrorhandler",
"GetInventoryItemCooldown",
"GetInventoryItemLink",
"GetItemCount",
"GetItemIcon",
"GetItemInfo",
"GetPlayerInfoByGUID",
"GetSchoolString",
"GetScreenHeight",
"GetScreenWidth",
"GetShapeshiftForm",
"GetSpecialization",
"GetSpecializationInfo",
"GetSpecializationInfoByID",
"GetTime",
"GetUnitPowerBarStringsByID",
"GetWeaponEnchantInfo",
"InCombatLockdown",
"IsInGroup",
"IsInInstance",
"IsMounted",
"IsUsableSpell",
"LoadAddOn",
"PlaySoundFile",
"SetCVar",
"sin",
"strjoin",
"strsplit",
"tostringall",
"UnitClass",
"UnitGUID",
"UnitHasVehicleUI",
"UnitHealth",
"UnitHealthMax",
"UnitInVehicle",
"UnitIsDeadOrGhost",
"UnitIsFriend",
"UnitIsPlayer",
"UnitName",
"UnitPower",
"UnitPowerBarID",
"UnitPowerMax",
"UnitXP",
"wipe",
"COMBATLOG_OBJECT_AFFILIATION_MINE",
"COMBATLOG_OBJECT_CONTROL_PLAYER",
"COMBATLOG_OBJECT_REACTION_FRIENDLY",
"DISABLE",
"ENABLE",
"LARGE_NUMBER_SEPERATOR",
}