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