Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bullsei committed Oct 25, 2020
1 parent d24106a commit 834ce32
Showing 1 changed file with 239 additions and 0 deletions.
239 changes: 239 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
std = "lua51"
max_line_length = false
exclude_files = {
"**/Libs",
}
only = {
"011", -- syntax
"1", -- globals
}
ignore = {
"11/SLASH_.*", -- slash handlers
"1/[A-Z][A-Z][A-Z0-9_]+", -- three letter+ constants
}
globals = {
-- wow std api
"abs",
"acos",
"asin",
"atan",
"atan2",
"bit",
"ceil",
"cos",
"date",
"debuglocals",
"debugprofilestart",
"debugprofilestop",
"debugstack",
"deg",
"difftime",
"exp",
"fastrandom",
"floor",
"forceinsecure",
"foreach",
"foreachi",
"format",
"frexp",
"geterrorhandler",
"getn",
"gmatch",
"gsub",
"hooksecurefunc",
"issecure",
"issecurevariable",
"ldexp",
"log",
"log10",
"max",
"min",
"mod",
"rad",
"random",
"scrub",
"securecall",
"seterrorhandler",
"sin",
"sort",
"sqrt",
"strbyte",
"strchar",
"strcmputf8i",
"strconcat",
"strfind",
"string.join",
"strjoin",
"strlen",
"strlenutf8",
"strlower",
"strmatch",
"strrep",
"strrev",
"strsplit",
"strsub",
"strtrim",
"strupper",
"table.wipe",
"tan",
"time",
"tinsert",
"tremove",
"wipe",

-- framexml
"getprinthandler",
"hash_SlashCmdList",
"setprinthandler",
"tContains",
"tDeleteItem",
"tInvert",
"tostringall",

-- everything else
"AlertFrame",
"Ambiguate",
"BasicMessageDialog",
"BigWigs",
"BigWigs3DB",
"BigWigsAnchor",
"BigWigsAPI",
"BigWigsEmphasizeAnchor",
"BigWigsIconDB",
"BigWigsLoader",
"BigWigsOptions",
"BigWigsStatsDB",
"BNGetFriendIndex",
"BNIsSelf",
"BNSendWhisper",
"BossBanner",
"C_ChatInfo",
"C_EncounterJournal",
"C_FriendList",
"C_GossipInfo",
"ChatFrame_ImportAllListsToHash",
"ChatTypeInfo",
"CheckInteractDistance",
"CinematicFrame_CancelCinematic",
"C_Map",
"CombatLogGetCurrentEventInfo",
"CombatLog_String_GetIcon",
"CreateFrame",
"C_BattleNet",
"C_CVar",
"C_NamePlate",
"C_RaidLocks",
"C_Scenario",
"C_Spell",
"C_Timer",
"C_UIWidgetManager",
"EJ_GetCreatureInfo",
"EJ_GetEncounterInfo",
"EJ_GetTierInfo",
"ElvUI",
"EnableAddOn",
"FlashClientIcon",
"GameFontHighlight",
"GameFontNormal",
"GameTooltip",
"GameTooltip_Hide",
"GetAddOnDependencies",
"GetAddOnEnableState",
"GetAddOnInfo",
"GetAddOnMetadata",
"GetAddOnOptionalDependencies",
"GetBuildInfo",
"GetDifficultyInfo",
"GetFramesRegisteredForEvent",
"GetInstanceInfo",
"GetItemCount",
"GetLocale",
"GetNumAddOns",
"GetNumGroupMembers",
"GetPartyAssignment",
"GetPlayerFacing",
"GetProfessionInfo",
"GetProfessions",
"GetRaidTargetIndex",
"GetRealmName",
"GetRealZoneText",
"GetSpecialization",
"GetSpecializationInfoByID",
"GetSpecializationRole",
"GetSpellCooldown",
"GetSpellDescription",
"GetSpellInfo",
"GetSpellLink",
"GetSpellTexture",
"GetSubZoneText",
"GetTime",
"GetTrackedAchievements",
"InCombatLockdown",
"IsAddOnLoaded",
"IsAddOnLoadOnDemand",
"IsAltKeyDown",
"IsControlKeyDown",
"IsEncounterInProgress",
"IsGuildMember",
"IsInGroup",
"IsInRaid",
"IsItemInRange",
"IsLoggedIn",
"IsPartyLFG",
"IsSpellKnown",
"IsTestBuild",
"LFGDungeonReadyPopup",
"LibStub",
"LoadAddOn",
"LoggingCombat",
"MovieFrame",
"ObjectiveTrackerFrame",
"PlayerHasToy",
"PlaySound",
"PlaySoundFile",
"RaidBossEmoteFrame",
"RaidNotice_AddMessage",
"RaidWarningFrame",
"RolePollPopup",
"SecondsToTime",
"SendChatMessage",
"SetRaidTarget",
"SlashCmdList",
"StopSound",
"Tukui",
"UIErrorsFrame",
"UIParent",
"UnitAffectingCombat",
"UnitAura",
"UnitCanAttack",
"UnitCastingInfo",
"UnitClass",
"UnitDetailedThreatSituation",
"UnitExists",
"UnitFactionGroup",
"UnitGetTotalAbsorbs",
"UnitGroupRolesAssigned",
"UnitGUID",
"UnitHealth",
"UnitHealthMax",
"UnitInParty",
"UnitInRaid",
"UnitInVehicle",
"UnitIsConnected",
"UnitIsCorpse",
"UnitIsDead",
"UnitIsDeadOrGhost",
"UnitIsGroupAssistant",
"UnitIsGroupLeader",
"UnitIsPlayer",
"UnitIsUnit",
"UnitLevel",
"UnitName",
"UnitPhaseReason",
"UnitPlayerControlled",
"UnitPosition",
"UnitPower",
"UnitPowerMax",
"UnitRace",
"UnitSetRole",
}

0 comments on commit 834ce32

Please sign in to comment.