Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 48 additions & 29 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ stds.ecs = {
read_globals = {}, -- these globals can only be accessed.
globals = {
"----> GlobalAPI",
-- keep-sorted start case=no
"AbandonQuest",
"AbandonSkill",
"AcceptAreaSpiritHeal",
Expand Down Expand Up @@ -117,8 +118,8 @@ stds.ecs = {
"C_ActionBar.IsEnabledAutoCastPetAction",
"C_ActionBar.IsOnBarOrSpecialBar",
"C_ActionBar.ToggleAutoCastPetAction",
"C_AddOns.GetAddOnInfo",
"C_AddOns",
"C_AddOns.GetAddOnInfo",
"C_AreaPoiInfo.GetAreaPOIForMap",
"C_AreaPoiInfo.GetAreaPOIInfo",
"C_AreaPoiInfo.IsAreaPOITimed",
Expand All @@ -135,6 +136,7 @@ stds.ecs = {
"C_CharacterServices.SetAutomaticBoostCharacter",
"C_CharacterServicesPublic.ShouldSeeControlPopup",
"C_ChatBubbles.GetAllChatBubbles",
"C_ChatInfo",
"C_ChatInfo.GetChannelRosterInfo",
"C_ChatInfo.GetNumActiveChannels",
"C_ChatInfo.GetRegisteredAddonMessagePrefixes",
Expand All @@ -145,7 +147,6 @@ stds.ecs = {
"C_ChatInfo.ReportServerLag",
"C_ChatInfo.SendAddonMessage",
"C_ChatInfo.SendAddonMessageLogged",
"C_ChatInfo",
"C_Club.AcceptInvitation",
"C_Club.AddClubStreamChatChannel",
"C_Club.AdvanceStreamViewMarker",
Expand Down Expand Up @@ -389,6 +390,7 @@ stds.ecs = {
"C_GuildInfo.RemoveFromGuild",
"C_GuildInfo.SetGuildRankOrder",
"C_GuildInfo.SetNote",
"C_Item",
"C_Item.DoesItemExist",
"C_Item.DoesItemExistByID",
"C_Item.GetCurrentItemLevel",
Expand All @@ -411,7 +413,6 @@ stds.ecs = {
"C_Item.RequestLoadItemData",
"C_Item.RequestLoadItemDataByID",
"C_Item.UnlockItem",
"C_Item",
"C_KeyBindings.GetCustomBindingType",
"C_LootHistory.CanMasterLoot",
"C_LootHistory.GetExpiration",
Expand All @@ -424,6 +425,7 @@ stds.ecs = {
"C_LossOfControl.GetNumEvents",
"C_Mail.HasInboxMoney",
"C_Mail.IsCommandPending",
"C_Map",
"C_Map.GetAreaInfo",
"C_Map.GetBestMapForUnit",
"C_Map.GetBountySetIDForMap",
Expand All @@ -449,10 +451,9 @@ stds.ecs = {
"C_Map.GetWorldPosFromMapPos",
"C_Map.MapHasArt",
"C_Map.RequestPreloadMap",
"C_Map",
"C_MapExplorationInfo",
"C_MapExplorationInfo.GetExploredAreaIDsAtPosition",
"C_MapExplorationInfo.GetExploredMapTextures",
"C_MapExplorationInfo",
"C_MerchantFrame.GetBuybackItemID",
"C_ModelInfo.AddActiveModelScene",
"C_ModelInfo.AddActiveModelSceneActor",
Expand All @@ -462,6 +463,7 @@ stds.ecs = {
"C_ModelInfo.GetModelSceneActorInfoByID",
"C_ModelInfo.GetModelSceneCameraInfoByID",
"C_ModelInfo.GetModelSceneInfoByID",
"C_NamePlate",
"C_NamePlate.GetNamePlateEnemyClickThrough",
"C_NamePlate.GetNamePlateEnemyPreferredClickInsets",
"C_NamePlate.GetNamePlateEnemySize",
Expand All @@ -485,16 +487,15 @@ stds.ecs = {
"C_NamePlate.SetNamePlateSelfPreferredClickInsets",
"C_NamePlate.SetNamePlateSelfSize",
"C_NamePlate.SetTargetClampingInsets",
"C_NamePlate",
"C_NewItems.ClearAll",
"C_NewItems.IsNewItem",
"C_NewItems.RemoveNewItem",
"C_PaperDollInfo",
"C_PaperDollInfo.GetArmorEffectiveness",
"C_PaperDollInfo.GetArmorEffectivenessAgainstTarget",
"C_PaperDollInfo.GetMinItemLevel",
"C_PaperDollInfo.OffhandHasShield",
"C_PaperDollInfo.OffhandHasWeapon",
"C_PaperDollInfo",
"C_PartyInfo.GetActiveCategories",
"C_PartyInfo.GetInviteConfirmationInvalidQueues",
"C_PlayerInfo.GetClass",
Expand All @@ -507,13 +508,13 @@ stds.ecs = {
"C_ProductChoice.GetProducts",
"C_ProductChoice.MakeSelection",
"C_PvP.IsPVPMap",
"C_QuestLog",
"C_QuestLog.GetMaxNumQuests",
"C_QuestLog.GetMaxNumQuestsCanAccept",
"C_QuestLog.GetQuestInfo",
"C_QuestLog.GetQuestObjectives",
"C_QuestLog.IsOnQuest",
"C_QuestLog.ShouldShowQuestRewards",
"C_QuestLog",
"C_RecruitAFriend.CheckEmailEnabled",
"C_RecruitAFriend.GetRecruitInfo",
"C_RecruitAFriend.IsSendingEnabled",
Expand Down Expand Up @@ -544,15 +545,15 @@ stds.ecs = {
"C_Spell.DoesSpellExist",
"C_Spell.IsSpellDataCached",
"C_Spell.RequestLoadSpellData",
"C_SpellBook.IsSpellKnown",
"C_SpellBook",
"C_SpellBook.IsSpellKnown",
"C_StorePublic.DoesGroupHavePurchaseableProducts",
"C_StorePublic.IsDisabledByParentalControls",
"C_StorePublic.IsEnabled",
"C_TaxiMap.GetAllTaxiNodes",
"C_TaxiMap.GetTaxiNodesForMap",
"C_Timer.After",
"C_Timer",
"C_Timer.After",
"C_UI.Reload",
"C_UIWidgetManager.GetAllWidgetsBySetID",
"C_UIWidgetManager.GetBelowMinimapWidgetSetID",
Expand Down Expand Up @@ -804,22 +805,6 @@ stds.ecs = {
"ConvertToParty",
"ConvertToRaid",
"CopyToClipboard",
"CR_ARMOR_PENETRATION",
"CR_BLOCK",
"CR_CRIT_MELEE",
"CR_CRIT_RANGED",
"CR_CRIT_SPELL",
"CR_DEFENSE_SKILL",
"CR_DODGE",
"CR_EXPERTISE",
"CR_HASTE_MELEE",
"CR_HASTE_RANGED",
"CR_HASTE_SPELL",
"CR_HIT_MELEE",
"CR_HIT_RANGED",
"CR_HIT_SPELL",
"CR_PARRY",
"CR_WEAPON_SKILL",
"CreateFont",
"CreateFrame",
"CreateMacro",
Expand Down Expand Up @@ -2268,14 +2253,16 @@ stds.ecs = {
"UseHearthstone",
"UseInventoryItem",
"UseItemByName",
-- keep-sorted end
"----------------------------------------------------->LUA API",
"bit",
-- keep-sorted start case=no
"abs",
"acos",
"asin",
"assert",
"atan",
"atan2",
"bit",
"bit.arshift",
"bit.band",
"bit.bnot",
Expand Down Expand Up @@ -2415,7 +2402,9 @@ stds.ecs = {
"unpack",
"wipe",
"xpcall",
-- keep-sorted end
"------------------------------------------------------> FRAMES",
-- keep-sorted start case=no
"ActionBarActionEventsFrame",
"ActionBarButtonEventsFrame",
"ActionBarController",
Expand Down Expand Up @@ -2474,7 +2463,6 @@ stds.ecs = {
"ChatConfigFrame",
"ChatEdit_GetActiveWindow",
"ChatEdit_InsertLink",
"ChatFrame_AddMessageEventFilter",
"ChatFrame1",
"ChatFrame10",
"ChatFrame10EditBox",
Expand Down Expand Up @@ -2503,6 +2491,7 @@ stds.ecs = {
"ChatFrame9",
"ChatFrame9EditBox",
"ChatFrame9Tab",
"ChatFrame_AddMessageEventFilter",
"ChatFrameChannelButton",
"ChatFrameMenuButton",
"ChatMenu",
Expand Down Expand Up @@ -2537,6 +2526,22 @@ stds.ecs = {
"ContainerFrame7",
"ContainerFrame8",
"ContainerFrame9",
"CR_ARMOR_PENETRATION",
"CR_BLOCK",
"CR_CRIT_MELEE",
"CR_CRIT_RANGED",
"CR_CRIT_SPELL",
"CR_DEFENSE_SKILL",
"CR_DODGE",
"CR_EXPERTISE",
"CR_HASTE_MELEE",
"CR_HASTE_RANGED",
"CR_HASTE_SPELL",
"CR_HIT_MELEE",
"CR_HIT_RANGED",
"CR_HIT_SPELL",
"CR_PARRY",
"CR_WEAPON_SKILL",
"CraftFrame",
"CreateChannelPopup",
"DEFAULT_CHAT_FRAME",
Expand All @@ -2547,6 +2552,8 @@ stds.ecs = {
"DurabilityFrame",
"EmbeddedItemTooltip",
"EngravingFrame",
"EQUIPPED_FIRST",
"EQUIPPED_LAST",
"EventTraceFrame",
"FauxScrollFrame_GetOffset",
"FlightMapFrame",
Expand Down Expand Up @@ -2620,6 +2627,7 @@ stds.ecs = {
"MainMenuBar",
"MapQuestInfoRewardsFrame",
"MasterLooterFrame",
"MAX_SPELL_SCHOOLS",
"MerchantFrame",
"Minimap",
"MinimapCluster",
Expand Down Expand Up @@ -2696,11 +2704,11 @@ stds.ecs = {
"SpellBookFrame",
"StackSplitFrame",
"STANDARD_TEXT_FONT",
"StaticPopup_Show",
"StaticPopup1",
"StaticPopup2",
"StaticPopup3",
"StaticPopup4",
"StaticPopup_Show",
"StaticPopupDialogs",
"StatsFrame",
"StopwatchFrame",
Expand Down Expand Up @@ -2752,7 +2760,9 @@ stds.ecs = {
"WorldMapTooltip",
"WorldStateScoreFrame",
"ZoneTextFrame",
-- keep-sorted end
"-----------------------------------------------------> Blizzard Data",
-- keep-sorted start case=no
"CALENDAR_FULLDATE_MONTH_NAMES",
"CALENDAR_WEEKDAY_NAMES",
"QUEST_ITEMS_NEEDED",
Expand All @@ -2765,19 +2775,27 @@ stds.ecs = {
"WOW_PROJECT_ID",
"WOW_PROJECT_MAINLINE",
"WOW_PROJECT_WRATH_CLASSIC",
-- keep-sorted end
"-----------------------------------------------------> Enums",
-- keep-sorted start case=no
"LE_EXPANSION_BURNING_CRUSADE",
-- keep-sorted end
"-----------------------------------------------------> GlobalStrings",
-- keep-sorted start case=no
"CLOSE",
"DEFENSE",
-- keep-sorted end
"-----------------------------------------------------> External Addons",
-- keep-sorted start case=no
"LeaPlusDB",
"LibStub",
"OutfitterButton",
"OutfitterButtonFrame",
"OutfitterFrame",
"PawnInitialize",
-- keep-sorted end
"-----------------------------------------------------> Project Specific",
-- keep-sorted start case=no
"assert.are_same",
"assert.is_nil",
"assert.spy",
Expand All @@ -2791,6 +2809,7 @@ stds.ecs = {
"SLASH_ECS1",
"SlashCmdList",
"spy",
-- keep-sorted end
}
}
std = "max+ecs"
Loading
Loading