From 42ec7286b2d36a9ba22925f816a17cb1cc2aa5ce Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 11:32:16 +0800 Subject: + Penlight --- Data/Libraries/Penlight/.luacheckrc | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Data/Libraries/Penlight/.luacheckrc (limited to 'Data/Libraries/Penlight/.luacheckrc') 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", +} + -- cgit v1.1-26-g67d0