mirror of
https://github.com/TangentFoxy/lua-date.git
synced 2025-07-28 02:52:18 +00:00
housekeeping, adding CI, moving some source files, fix linter
This commit is contained in:
31
.luacheckrc
Normal file
31
.luacheckrc
Normal 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",
|
||||
}
|
||||
|
Reference in New Issue
Block a user