add luacheck to lint lua files (#2205)

This commit is contained in:
halfcrazy 2018-03-19 00:31:49 +08:00 committed by Manuel Alejandro de Brito Fontes
parent 5c02d700cb
commit 977cfcb4c7
4 changed files with 19 additions and 5 deletions

2
.luacheckrc Normal file
View file

@ -0,0 +1,2 @@
std = 'ngx_lua'
globals = {'_'}