-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.luacheckrc
More file actions
45 lines (33 loc) · 663 Bytes
/
Copy path.luacheckrc
File metadata and controls
45 lines (33 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
-- Configuration file for LuaCheck
-- see: https://luacheck.readthedocs.io/en/stable/
--
-- To run do: `luacheck .` from the repo
std = "ngx_lua"
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
}
include_files = {
"**/*.lua",
"*.rockspec",
".busted",
".luacheckrc",
}
exclude_files = {
--"spec/fixtures/invalid-module.lua",
--"spec-old-api/fixtures/invalid-module.lua",
}
files["spec/**/*.lua"] = {
std = "ngx_lua+busted",
}