-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.luacheckrc
More file actions
64 lines (59 loc) · 1.14 KB
/
.luacheckrc
File metadata and controls
64 lines (59 loc) · 1.14 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
std = "lua51"
max_line_length = false
exclude_files = {
".luacheckrc",
".evo"
}
ignore = {
"142", -- setting undefined field ... of global ... (working as intended)
"143", -- accessing undefined field ... of global ... (it's not undefined now, is it?)
"212", -- unused argument (I'd rather it's obvious what arguments are passed even if they aren't currently used)
"213", -- unused loop argument (readability improvement; _ adds nothing and is less explicit)
}
globals = {
-- busted (Test runner)
"describe",
"it",
-- evo-luvi
"dump",
"path",
"import",
-- evo
-- Builtins
"event",
"format",
"json",
"log",
"mixin",
"printf",
"serialize",
"transform",
"typeof",
"assertEquals",
"assertTrue",
"assertFalse",
"assertFunctionCalls",
"assertThrows",
"Scenario",
"TestSuite",
--- Logging aliases
"EVENT",
"TEST",
"DEBUG",
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY",
--- API
"C_FileSystem",
"C_Networking",
"C_Testing",
-- Shared constants
"EVO_VERSION_MAJOR",
"EVO_VERSION_MINOR",
"EVO_VERSION_PATCH",
"EVO_VERSION_STRING",
}