-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.luacheckrc
73 lines (60 loc) · 1.45 KB
/
.luacheckrc
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
std = "lua51c"
codes = true
ranges = true
quiet = 1
cache = true
max_line_length = false
max_code_line_length = false
max_string_line_length = false
max_comment_line_length = false
exclude_files = {
"./.git",
"./.github",
"./.lua",
"./.luarocks",
"**/Libraries",
}
ignore = {
"112", -- Mutating an undefined global variable
"142", -- Setting an undefined field of a global variable
"143", -- Accessing an undefined field of a global variable
"212", -- Unused argument
"1/SLASH_.*", -- Setting/Mutating/Accessing an undefined global variable (Slash commands)
"211/[E|L|V|P|G]", -- Unused local variable
"213/i", -- Unused loop variable
"432/self", -- Shadowing an upvalue
"113",
"131",
"421",
"431",
}
globals = {
-- AtlasQuest
"AQ_AtlasOrAlphamap",
"AtlasORAlphaMap",
-- ChatBar
"ChatBar_ButtonScale",
"ChatBar_UpdateArt",
"ChatBar_Toggle_LargeButtons",
"ChatBar_VerticalDisplay_Sliding",
"ChatBar_AlternateDisplay_Sliding",
"ChatBar_LargeButtons_Sliding",
"ChatBar_UpdateButtonOrientation",
-- Doom_CooldownPulse
"Doom_CooldownPulse",
-- QuestGuru
"QUESTS_DISPLAYED",
"QUESTGURU_QUESTS_DISPLAYED",
"QuestGuru_UpdateGossipFrame",
"QuestGuru_UpdateProgressFrame",
"QuestGuru_UpdateDetailFrame",
"QuestGuru_QuestFrameGreetingPanel_OnShow",
-- QuestGuruTracker
"QGT_SetQuestWatchBorder",
"QGT_SetAchievementWatchBorder",
"QGT_QuestWatchButton_OnClick",
-- TellMeWhen
"TELLMEWHEN_ICONSPACING",
-- TipTac
"TipTac_Config",
}