Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian L Lange committed Jul 21, 2024
1 parent 16476cb commit 2285f1c
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,23 @@ globals = {

read_globals = {
table = {fields = {'wipe'}},
string = {fields = {'join'}},

-- FrameXML objects
'DEFAULT_CHAT_FRAME', -- FrameXML/ChatFrame.lua
'MinimalSliderWithSteppersMixin',
'Settings',
'SettingsPanel',

-- FrameXML functions
'DisplayTableInspectorWindow', -- AddOns/Blizzard_DebugTools/Blizzard_TableInspector.lua
'UIParentLoadAddOn', -- FrameXML/UIParent.lua
'nop', -- FrameXML/UIParent.lua
'DisplayTableInspectorWindow',
'UIParentLoadAddOn',
'DevTools_Dump',
'GenerateClosure',
'Mixin',
'nop',

-- SharedXML objects
'MinimalSliderWithSteppersMixin', -- SharedXML/Slider/MinimalSlider.lua
'Settings', -- SharedXML/Settings/Blizzard_Settings.lua
'SettingsPanel', -- SharedXML/Settings/Blizzard_SettingsPanel.xml

-- SharedXML functions
'DevTools_Dump', -- SharedXML/Dump.lua
'GenerateClosure', -- SharedXML/FunctionUtil.lua
'Mixin', -- SharedXML/Mixin.lua
-- FrameXML constants
'DEFAULT_CHAT_FRAME',

-- namespaces
'C_AddOns',
Expand All @@ -55,9 +54,6 @@ read_globals = {
'GetBuildInfo',
'GetLocale',
'InCombatLockdown',
'IsAddOnLoaded', -- until wrath classic bumps API
'UnitAuraSlots',
'UnitGUID',
'UnitIsOwnerOrControllerOfUnit',
'UnitIsUnit',
'debugstack',
}

0 comments on commit 2285f1c

Please sign in to comment.