Debian Codegraph @

vicious/tools/luacheckrc

raw
1 -- Only allow symbols available in all Lua versions
2 std = "min"
3
4 -- Global objects defined by the C code
5 read_globals = {
6 "timer", -- deprecated, but used in older versions.
7 }
8
9 include_files = {
10 "*.lua", -- libraries
11 "widgets/*.lua", -- officially supported widget types
12 "templates/*.lua", -- officially supported widget types
13 }
14
15 -- Warnings to be ignored
16 ignore = {
17 "212", -- Unused argument.
18 }
19
20 -- Not enforced, but preferable
21 max_code_line_length = 80
22
23 -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80