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