Commit d4c5e4d2 authored by François Perrad's avatar François Perrad

luacheck 0.8.0

parent c9186752
globals = {
codes = true
read_globals = {
-- Test.More
'plan',
'done_testing',
......@@ -27,6 +28,13 @@ globals = {
'todo_skip',
'skip_rest',
'todo',
-- testsuite
'Person',
'Friend',
'Avatar',
'Car',
}
globals = {
-- Coat
'argerror',
'checktype',
......@@ -77,12 +85,7 @@ globals = {
'has_one',
'has_many',
'persistent',
-- testsuite
'Person',
'Friend',
'Avatar',
'Car',
}
ignore = { 'sql_create' }
ignore = { '111/sql_create' }
......@@ -110,8 +110,8 @@ test.lsqlite3:
cd src.lsqlite3 && prove --exec=$(LUA) ../test/*.t
luacheck:
luacheck --std=max --no-unused-args src
luacheck --std=max --no-unused-args src.lsqlite3 --ignore err
luacheck --std=max --codes src --ignore 212/t --ignore 421/cond
luacheck --std=max --codes src.lsqlite3 --ignore 212/t --ignore 231/err
luacheck --std=min --config .test.luacheckrc test/*.t
coverage:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment