Skip to content

Commit

Permalink
🧹
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Jul 21, 2024
1 parent efa88b0 commit 3fcdfbe
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ ignore = {
'631', -- line is too long
}

exclude_files = {
}

globals = {
-- savedvariables
'ExtraQuestButtonDB3',
Expand All @@ -27,30 +24,26 @@ read_globals = {
table = {fields = {'wipe'}},

-- FrameXML objects
'ActionButtonUtil', -- FrameXML/ActionButtonUtil.lua
'GameTooltip', -- ???
'ItemMixin', -- FrameXML/ObjectAPI/Item.lua
'QuickKeybindButtonTemplateMixin', -- FrameXML/QuickKeybind.lua
'UIParent', -- FrameXML/UIParent.xml
'ActionButtonUtil',
'GameTooltip',
'ItemMixin',
'QuickKeybindButtonTemplateMixin',
'UIParent',

-- FrameXML functions
'CopyTable', -- FrameXML/TableUtil.lua
'GameTooltip_Hide', -- FrameXML/GameTooltip.lua
'RegisterStateDriver', -- FrameXML/SecureStateDriver.lua
'UnregisterStateDriver', -- FrameXML/SecureStateDriver.lua
'nop', -- FrameXML/UIParent.lua
'CopyTable',
'FormatPercentage',
'GameTooltip_Hide',
'KeybindFrames_InQuickKeybindMode',
'Mixin',
'RegisterStateDriver', -- deprecated
'UnregisterStateDriver', -- deprecated
'GetItemInfoFromHyperlink',

-- FrameXML constants
'RANGE_INDICATOR', -- FrameXML/ActionButton.lua

-- SharedXML functions
'FormatPercentage', -- SharedXML/FormattingUtil.lua
'GetItemInfoFromHyperlink', -- SharedXML/LinkUtil.lua
'KeybindFrames_InQuickKeybindMode', -- SharedXML/BindingUtil.lua
'Mixin', -- SharedXML/Mixin.lua
'RANGE_INDICATOR',

-- namespaces
'C_CVar',
'C_Item',
'C_QuestLog',
'C_Timer',
Expand All @@ -60,7 +53,6 @@ read_globals = {
'CreateFrame',
'GetBindingKey',
'GetBindingText',
'GetLocale',
'GetQuestLogSpecialItemInfo',
'GetTime',
'InCombatLockdown',
Expand Down

0 comments on commit 3fcdfbe

Please sign in to comment.