awesomerc/.luacheckrc

48 lines
666 B
Lua

std = "lua54"
files[".luamonrc"].std = {
globals = {
"ext",
"lang",
},
}
files["awesomerc-dev-1.rockspec"].ignore = {
"631", -- Line is too long.
}
include_files = {
".busted",
".luacheckrc",
".luamonrc",
"*.rockspec",
"src/**/*.lua",
}
exclude_files = {
"src/awesome-wm-nice", -- Vendored code with its own .luacheckrc
}
read_globals = {
"awesome",
"button",
"dbus",
"drawable",
"drawin",
"key",
"keygrabber",
"mousegrabber",
"selection",
"tag",
"window",
"table.unpack",
"math.atan2",
}
globals = {
"screen",
"mouse",
"root",
"client",
}