-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
57 lines (49 loc) · 835 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
45
46
47
48
49
50
51
52
53
54
55
56
57
include_files = {
"*.lua",
"./lib/**/**.lua",
"./services/**/**.lua",
"./theme/**/**.lua",
}
exclude_files = {
"./lain/**"
}
-- The default config may set global variables
files["rc.lua"].allow_defined_top = true
-- Global objects defined by the C code
read_globals = {
"awesome",
"button",
"dbus",
"drawable",
"drawin",
"key",
"keygrabber",
"mousegrabber",
"selection",
"tag",
"window",
"table.unpack",
"math.atan2",
}
globals = {
"screen",
"mouse",
"root",
"client"
}
files["services/usage/*.lua"] = {
read_globals = {
"cpu_now",
"mem_now",
},
}
files["services/volume/alsa.lua"] = {
read_globals = {
"volume_now",
},
}
files["services/*.lua"] = {
read_globals = {
"net_now",
},
}