housekeeping, adding CI, moving some source files, fix linter

This commit is contained in:
Thijs Schreijer
2018-12-03 15:25:59 +01:00
parent 7a05302fb8
commit b3c3cba87b
10 changed files with 112 additions and 53 deletions

31
.luacheckrc Normal file
View File

@@ -0,0 +1,31 @@
--std = "ngx_lua+busted"
unused_args = false
redefined = false
max_line_length = false
globals = {
--"_KONG",
--"kong",
--"ngx.IS_CLI",
}
not_globals = {
"string.len",
"table.getn",
}
ignore = {
--"6.", -- ignore whitespace warnings
}
exclude_files = {
"here/**",
"samples/**",
--"spec/fixtures/invalid-module.lua",
--"spec-old-api/fixtures/invalid-module.lua",
}