Improve luacheck setup [skip appveyor]

- Move .luacheckrc to root, add read_globals=vim
- Simplify lualint target, run it on all lua files
- Lint preload.lua, but ignore W211
- Remove testlint target, included in lualint (and lint)
- Clean up .luacheckrc
This commit is contained in:
Daniel Hahler
2019-07-04 05:30:16 +02:00
parent 571b2c5e7b
commit 32361a1245
9 changed files with 29 additions and 90 deletions

View File

@@ -75,7 +75,6 @@ for i = 1, #events do
end
if not ev.bridge_impl and not ev.noexport then
local send, argv, recv, recv_argv, recv_cleanup = '', '', '', '', ''
local argc = 1
for j = 1, #ev.parameters do
@@ -161,7 +160,6 @@ for i = 1, #events do
call_output:write(";\n")
call_output:write("}\n\n")
end
end
proto_output:close()