summaryrefslogtreecommitdiff
path: root/Data/Libraries/Penlight/.luacheckrc
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Libraries/Penlight/.luacheckrc')
-rw-r--r--Data/Libraries/Penlight/.luacheckrc40
1 files changed, 40 insertions, 0 deletions
diff --git a/Data/Libraries/Penlight/.luacheckrc b/Data/Libraries/Penlight/.luacheckrc
new file mode 100644
index 0000000..82dab88
--- /dev/null
+++ b/Data/Libraries/Penlight/.luacheckrc
@@ -0,0 +1,40 @@
+unused_args = false
+redefined = false
+max_line_length = false
+
+globals = {
+ "ngx",
+}
+
+not_globals = {
+ "string.len",
+ "table.getn",
+}
+
+include_files = {
+ "**/*.lua",
+ "*.rockspec",
+ ".busted",
+ ".luacheckrc",
+}
+
+files["spec/**/*.lua"] = {
+ std = "+busted",
+}
+
+exclude_files = {
+ "tests/*.lua",
+ "tests/**/*.lua",
+ -- Travis Lua environment
+ "here/*.lua",
+ "here/**/*.lua",
+ -- GH Actions Lua Environment
+ ".lua",
+ ".luarocks",
+ ".install",
+
+ -- TODO: fix these files
+ "examples/symbols.lua",
+ "examples/test-symbols.lua",
+}
+