-
Notifications
You must be signed in to change notification settings - Fork 121
/
.luacheckrc
44 lines (38 loc) · 741 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
36
37
38
39
40
41
42
43
44
-- Only allow symbols available in all Lua versions
std = "min"
-- Get rid of "unused argument self" - warnings
self = false
-- Do not check files outside of config
exclude_files = {
".luacheckrc", -- this file itself
"rc-back.lua", -- orinal config
"redflat", -- submodule
}
-- Global objects defined by the C code
read_globals = {
-- awesome API
"awesome",
"button",
"dbus",
"drawable",
"drawin",
"key",
"keygrabber",
"mousegrabber",
"root",
"selection",
"tag",
"window",
-- lua unpack
"table.unpack",
"unpack"
}
-- Not read-only globals.
globals = {
-- awesome API
"screen",
"mouse",
"client",
-- global used in configs
"lock"
}