-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.luacheckrc
90 lines (88 loc) · 1.8 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
std = "lua51"
max_line_length = false
codes = true
exclude_files = {
"**/libs",
}
ignore = {
"11./SLASH_.*", -- Setting an undefined (Slash handler) global variable
"212", -- Unused argument
"213", -- Unused loop variable
}
globals = {
"BetterAddonListDB",
"AddonCharacterDropDown",
"AddonCharacterDropDownButton",
"AddonList",
"AddonList_Enable",
"AddonList_SetSecurityIcon",
"AddonList_SetStatus",
"AddonListForceLoad",
"AddonTooltip_Update",
"C_AddOns",
"C_Timer",
"CloseDropDownMenus",
"CopyTable",
"CreateAtlasMarkup",
"CreateFrame",
"CreateSimpleTextureMarkup",
"GameTooltip",
"GetAddOnMemoryUsage",
"GetLocale",
"hooksecurefunc",
"IsAddonVersionCheckEnabled",
"IsShiftKeyDown",
"MenuResponse",
"MenuUtil",
"PlaySound",
"ResetAddOns",
"SecureCmdOptionParse",
"ShowUIPanel",
"SlashCmdList",
"SOUNDKIT",
"ToggleDropDownMenu",
"UIDropDownMenu_AddButton",
"UIDropDownMenu_CreateInfo",
"UIDropDownMenu_Initialize",
"UIDROPDOWNMENU_MENU_VALUE",
"UIDropDownMenu_SetSelectedValue",
"UnitGUID",
"UnitName",
"UpdateAddOnMemoryUsage",
"tContains",
"tostringall",
"sort",
"wipe",
"ADDON_BANNED_TOOLTIP",
"CANCEL",
"FILTER",
"LOAD_ADDON",
"NONE",
"OKAY",
"YES",
"NORMAL_FONT_COLOR",
}
files["BetterAddonList.lua"].globals = {
"LibStub",
"AddonList_IsAddOnLoadOnDemand",
"AddonList_HasAnyChanged",
"AddonList_Update",
"AddonListDisableAllButton",
"AddonListOkayButton",
"CreateDataProvider",
"CreateIndexRangeDataProvider",
"GameTooltip_Hide",
"SearchBoxTemplate_OnTextChanged",
}
files["BetterAddonList_Classic.lua"].globals = {
"AddonList_Update",
"AddonListScrollFrame",
"AddonTooltip_BuildDeps",
"FauxScrollFrame_Update",
"SearchBoxTemplate_OnTextChanged",
"StaticPopup_Show",
"StaticPopupDialogs",
"ADDON_DEPENDENCIES",
"ADDON_BUTTON_HEIGHT",
"MAX_ADDONS_DISPLAYED",
}