-
Notifications
You must be signed in to change notification settings - Fork 9
/
.luacheckrc
35 lines (31 loc) · 715 Bytes
/
.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
std = "lua51"
max_line_length = 250
exclude_files = {
"DRList-1.0/libs/",
".luacheckrc",
}
ignore = {
"212/self", -- Unused argument 'self'
"213", -- Unused loop variables
}
-- Force error on 'print' in code to ensure we never forget to remove debug statements on release
not_globals = { "print" }
globals = {
"SimpleTesting",
"SLASH_DRLIST1",
"debugprofilestop",
"format",
"_G",
"GetLocale",
"GetSpellInfo",
"C_Spell",
"LibStub",
"strmatch",
"SlashCmdList",
"WOW_PROJECT_ID",
"WOW_PROJECT_MAINLINE",
"WOW_PROJECT_CLASSIC",
"WOW_PROJECT_BURNING_CRUSADE_CLASSIC",
"WOW_PROJECT_WRATH_CLASSIC",
"WOW_PROJECT_CATACLYSM_CLASSIC",
}