Tests: add luacheck for linting tests

Source: https://github.com/mpeterv/luacheck
Docs:   http://luacheck.readthedocs.org/en/0.12.0/index.html

Run via "make testlint".
This commit is contained in:
Marco Hinz
2015-11-17 13:16:33 +01:00
parent 4680b4f3b1
commit 818f926eb0
5 changed files with 38 additions and 3 deletions

4
test/.luacheckrc Normal file
View File

@@ -0,0 +1,4 @@
-- vim: ft=lua
std = '+luajit +busted'
cache = true