aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.luacheckrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000..4dc4ec4
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,32 @@
1unused_args = false
2redefined = false
3max_line_length = false
4
5globals = {
6-- "ngx",
7}
8
9not_globals = {
10 -- deprecated Lua 5.0 functions
11 "string.len",
12 "table.getn",
13}
14
15include_files = {
16 "**/*.lua",
17 "**/*.rockspec",
18 ".busted",
19 ".luacheckrc",
20}
21
22files["spec/**/*.lua"] = {
23 std = "+busted",
24}
25
26exclude_files = {
27 -- The Github Actions Lua Environment
28 ".lua",
29 ".luarocks",
30 ".install",
31}
32