lain/.luacheckrc

28 lines
413 B
Plaintext
Raw Normal View History

-- Only allow symbols available in all Lua versions
std = "min"
2022-06-11 11:39:21 +02:00
allow_defined = true
max_line_length = false
cache = true
-- Global objects defined by the C code
read_globals = {
"awesome",
"mousegrabber",
"table.unpack",
"unpack",
"utf8"
}
2022-06-11 11:39:21 +02:00
globals = {
"client",
"mouse",
"root",
"screen"
2022-06-11 11:39:21 +02:00
}
-- https://luacheck.readthedocs.io/en/stable/warnings.html
2022-06-11 11:39:21 +02:00
ignore = {
"131"
2022-06-11 11:39:21 +02:00
}