-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.luacheckrc
81 lines (75 loc) · 1.39 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
stds.wow = {
globals = {
SlashCmdList = {
other_fields = true
}
},
read_globals = {
"BackdropTemplateMixin",
"C_AddOns",
"C_Spell",
"C_Timer",
"C_UnitAuras",
"CreateFrame",
"DEFAULT_CHAT_FRAME",
"GetAddOnMetadata",
"GetCVar",
"GetLocale",
"GetSpellInfo",
"HybridScrollFrame_CreateButtons",
"HybridScrollFrame_GetButtons",
"HybridScrollFrame_GetOffset",
"HybridScrollFrame_SetDoNotHideScrollBar",
"HybridScrollFrame_Update",
"InterfaceOptions_AddCategory",
"InterfaceOptionsFrame_OpenToCategory",
"IsMounted",
"PanelTemplates_GetSelectedTab",
"PanelTemplates_SetNumTabs",
"PanelTemplates_SetTab",
"PlayMusic",
"PlaySound",
"SetCVar",
"Settings",
"SettingsPanel",
"StopMusic",
"sort",
"SOUNDKIT",
"UnitBuff",
"WOW_PROJECT_ID",
"WOW_PROJECT_MAINLINE",
"WOW_PROJECT_CLASSIC",
"WOW_PROJECT_WRATH_CLASSIC",
"wipe"
}
}
stds.externs = {
read_globals = {
"LibStub"
}
}
std = "lua51+wow+externs"
max_line_length = 120
codes = true
ignore = {
"212/self"
}
files = {
["locales/*.lua"] = {
ignore = {
"211/L", -- Unused variable "L"
"631" -- Line too long
}
}
}
exclude_files = {
"libs/CallbackHandler-1.0",
"libs/LibDataBroker-1-1",
"libs/LibStub",
".luacheckrc",
".release"
}
globals = {
"Chocobo",
"ChocoboLib"
}