Debian Codegraph @

src/lua/.luacheckrc

raw
1 std = 'luajit'
2
3 new_read_globals = {
4 'assert',
5 'describe',
6 'it',
7 }
8 new_globals = {
9 'math',
10 }
11
12 -- Luacheck < 0.18 doesn't support new_read_globals
13 for _, v in ipairs(new_read_globals) do
14 table.insert(new_globals, v)
15 end
16
17 -- Ignore some pedantic checks
18 ignore = {
19 '4.1/err', -- Shadowing err
20 '4.1/.', -- Shadowing one letter variables
21 }