fix workflow/issue templates
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
name: "Bug Report"
|
||||
description: Create a report to help us improve
|
||||
labels: ['🐛 Bug']
|
||||
type: Bug
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
|
||||
@@ -5,6 +5,9 @@ on:
|
||||
paths:
|
||||
- '.github/workflows/**.yml'
|
||||
- '**.lua'
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.lua'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
@@ -60,4 +63,4 @@ jobs:
|
||||
rm -rf $GITHUB_WORKSPACE/luarocks-${{ env.LUAROCKS_VERSION }}
|
||||
|
||||
- name: Luacheck
|
||||
run: .luarocks/bin/luacheck . -q
|
||||
run: .luarocks/bin/luacheck .
|
||||
|
||||
+26
-2
@@ -1,12 +1,15 @@
|
||||
std = "lua51"
|
||||
max_line_length = false
|
||||
exclude_files = {
|
||||
"babelfish.lua",
|
||||
"WeakAuras_Main.lua",
|
||||
"WeakAuras_Options.lua",
|
||||
"WeakAuras_Templates.lua",
|
||||
"WeakAuras/Libs/",
|
||||
".luacheckrc"
|
||||
"WeakAurasOptions/Libs/",
|
||||
"WeakAuras/Locales",
|
||||
"WeakAurasOptions/Locales",
|
||||
".luacheckrc",
|
||||
".luarocks",
|
||||
}
|
||||
ignore = {
|
||||
"11./SLASH_.*", -- Setting an undefined (Slash handler) global variable
|
||||
@@ -27,6 +30,7 @@ ignore = {
|
||||
"542", -- An empty if branch
|
||||
"581", -- error-prone operator orders
|
||||
"582", -- error-prone operator orders
|
||||
"512", -- loop is executed at most once (Retail function)
|
||||
}
|
||||
globals = {
|
||||
"_G",
|
||||
@@ -19545,4 +19549,24 @@ globals = {
|
||||
"ZOOM_OUT",
|
||||
"ZOOM_OUT_BUTTON_TEXT",
|
||||
"_RECORDING_WARNING_CORRUPTED",
|
||||
|
||||
"GetNumPartyMembers", "GetNumRaidMembers", "noop", "tInvert", "DeltaLerp",
|
||||
"GetNumEquipmentSets", "GetEquipmentSetInfo", "CR_HASTE_MELEE", "CR_HASTE_RANGED",
|
||||
"CR_CRIT_TAKEN_MELEE", "CR_CRIT_TAKEN_RANGED", "CR_CRIT_TAKEN_SPELL",
|
||||
"BNGetNumFriendToons", "BNGetFriendToonInfo", "KuiNameplates", "TidyPlatesThreat",
|
||||
"UnitIsPartyLeader", "EasyMenu", "SELECTED_CHAT_FRAME", "handler", "InterfaceOptions_AddCategory",
|
||||
"PanelTemplates_SetDisabledTabState", "PanelTemplates_SelectTab", "PanelTemplates_DeselectTab",
|
||||
"PanelTemplates_TabResize", "GameFontNormalSmall", "ColorPickerFrame", "OpacitySliderFrame",
|
||||
"AceGUIEditBoxInsertLink", "AceGUIMultiLineEditBoxInsertLink",
|
||||
"ObjectPoolMixin", "FramePoolMixin", "FramePool_Hide", "FramePool_HideAndClearAnchors",
|
||||
"TexturePoolMixin", "TexturePool_Hide", "TexturePool_HideAndClearAnchors", "CreateTexturePool",
|
||||
"FontStringPoolMixin", "FontStringPool_Hide", "FontStringPool_HideAndClearAnchors",
|
||||
"CreateFontStringPool", "ActorPoolMixin", "ActorPool_Hide", "ActorPool_HideAndClearModel",
|
||||
"CreateActorPool", "FramePoolCollectionMixin", "CreateFramePoolCollection",
|
||||
"FixedSizeFramePoolCollectionMixin", "CreateFixedSizeFramePoolCollection",
|
||||
"WA_MaximizeMinimizeButtonFrame_Mixin", "WA_PortraitFrameTemplate_Mixin",
|
||||
"WA_UpdateNineSliceBorders", "SecondsToMinutes", "MinutesToSeconds", "HasTimePassed",
|
||||
"SecondsFormatterConstants", "ConvertSecondsToUnits", "SecondsToClock",
|
||||
"MinutesToTime", "FormatShortDate", "NUMBER_ABBREVIATION_DATA", "WeakAurasProfilingReportTitleText",
|
||||
"WeakAurasRealTimeProfiling", "WeakAurasRealTimeProfilingTitleText", "seconds"
|
||||
}
|
||||
|
||||
@@ -2,14 +2,13 @@ if not WeakAuras.IsLibsOK() then return end
|
||||
|
||||
local AddonName, Private = ...
|
||||
|
||||
local LibGroupTalents = LibStub:GetLibrary("LibGroupTalents-1.0", true)
|
||||
local subscribers = {}
|
||||
|
||||
Private.LibGroupTalentsWrapper = {
|
||||
Register = function(f) end,
|
||||
}
|
||||
|
||||
if LibGroupTalents then
|
||||
if WeakAuras.LGT and WeakAuras.LGT.RegisterCallback then
|
||||
function Private.LibGroupTalentsWrapper.CallbackHandler(_, _, _, unit)
|
||||
if unit then
|
||||
for _, f in ipairs(subscribers) do
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
if not WeakAuras.IsLibsOK() then return end
|
||||
---@type string
|
||||
|
||||
local AddonName = ...
|
||||
---@class OptionsPrivate
|
||||
local OptionsPrivate = select(2, ...)
|
||||
|
||||
if not WeakAuras.IsLibsOK() then return end
|
||||
---@type string
|
||||
local AddonName = ...
|
||||
---@class OptionsPrivate
|
||||
local OptionsPrivate = select(2, ...)
|
||||
OptionsPrivate.changelog = {
|
||||
versionString = '5.19.1',
|
||||
dateString = '2025-01-30',
|
||||
|
||||
Reference in New Issue
Block a user