diff options
| -rw-r--r-- | .luacheckrc | 31 |
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 @@ | |||
| 1 | unused_args = false | ||
| 2 | redefined = false | ||
| 3 | max_line_length = false | ||
| 4 | |||
| 5 | not_globals = { | ||
| 6 | "string.len", | ||
| 7 | "table.getn", | ||
| 8 | } | ||
| 9 | |||
| 10 | include_files = { | ||
| 11 | "**/*.lua", | ||
| 12 | "**/*.rockspec", | ||
| 13 | ".busted", | ||
| 14 | ".luacheckrc", | ||
| 15 | } | ||
| 16 | |||
| 17 | exclude_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 | |||
