chore: Setup luacheck config file for project

This commit is contained in:
Caleb Maclennan 2020-09-30 20:26:16 +03:00
parent 9fa1150194
commit 8a683f51ba
No known key found for this signature in database
GPG Key ID: 63CC496475267693
1 changed files with 21 additions and 0 deletions

21
.luacheckrc Normal file
View File

@ -0,0 +1,21 @@
unused_args = false
redefined = false
max_line_length = false
include_files = {
"**/*.lua",
"*.rockspec",
".luacheckrc",
}
exclude_files = {
-- Tests are too messy to lint
"tests",
-- Travis Lua environment
"here/*.lua",
"here/**/*.lua",
-- GH Actions Lua Environment
".lua",
".luarocks",
".install",
}