-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.luacheckrc
More file actions
87 lines (81 loc) · 1.83 KB
/
.luacheckrc
File metadata and controls
87 lines (81 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---@diagnostic disable: lowercase-global
local config = {
std = "lua51",
globals = {
"FrameSort",
"FrameSortDB",
"FrameSortApi",
"SLASH_FRAMESORT1",
"SLASH_FRAMESORT2",
"BINDING_HEADER_FRAMESORT_TARGET",
},
read_globals = {
"assertEquals",
"GladiusExPartyFrame",
"GladiusExArenaFrame",
"sArena",
"ElvUI",
"LibStub",
"ElvUF_PartyGroup1",
"CompactRaidGroup_OnLoad",
"CUF_CVar",
"DefaultCompactUnitFrameSetupOptions",
"CompactRaidFrame1",
"CompactRaidFrameContainer_OnSizeChanged",
"Cell",
"CellPartyFrameHeader",
"CellRaidFrameHeader0",
"CellDB",
"SUFHeaderparty",
"SUFHeaderarena",
"Grid2LayoutHeader1",
"CompactArenaFrame_RefreshMembers",
"GladiusExButtonAnchorarena",
"GladiusExButtonAnchorparty",
"GladiusExDB",
"Grid2",
"Gladius",
"BattleGroundEnemies",
"BattleGroundEnemiesDB",
"GladdyFrame",
"CompactUnitFrame_SetUnit",
"CompactArenaFrameTitle",
"CompactArenaFrameMember1",
"GladiusEx",
"Gladdy",
"ShadowUF",
"Grid2Frame",
"Grid2Layout",
"CompactRaidFrameContainer_LayoutFrames",
"LE_EXPANSION_LEVEL_CURRENT",
"GladdyButtonFrame1",
"GladdyButtonFrame2",
"GladdyButtonFrame3",
"GladdyButtonFrame4",
"GladdyButtonFrame5",
"GladdyXZ",
"GladiusButtonFramearena1",
"GladiusButtonFramearena2",
"GladiusButtonFramearena3",
"GladiusButtonFramearena4",
"GladiusButtonFramearena5",
"Gladius2DB",
"GladiusButtonBackground",
"CompactUnitFrame_UpdateName",
"GameTooltip",
"Platynator",
},
ignore = {
-- line is too long
"631",
-- unused self argument
"212",
},
files = {},
}
-- for some annoying reason this doesn't work
-- I've tried every path pattern combination you can think of
config.files["**/WoW.lua"] = {
ignore = { "113" },
}
return config