chore: Add luacheck linter project configuration
This commit is contained in:
parent
52b22da7e3
commit
f6509d4fd5
1 changed files with 31 additions and 0 deletions
31
.luacheckrc
Normal file
31
.luacheckrc
Normal file
|
@ -0,0 +1,31 @@
|
|||
unused_args = false
|
||||
redefined = false
|
||||
max_line_length = false
|
||||
|
||||
not_globals = {
|
||||
"string.len",
|
||||
"table.getn",
|
||||
}
|
||||
|
||||
include_files = {
|
||||
"**/*.lua",
|
||||
"**/*.rockspec",
|
||||
".busted",
|
||||
".luacheckrc",
|
||||
}
|
||||
|
||||
exclude_files = {
|
||||
"etc/*.lua",
|
||||
"etc/**/*.lua",
|
||||
"test/*.lua",
|
||||
"test/**/*.lua",
|
||||
"samples/*.lua",
|
||||
"samples/**/*.lua",
|
||||
"gem/*.lua",
|
||||
"gem/**/*.lua",
|
||||
-- GH Actions Lua Environment
|
||||
".lua",
|
||||
".luarocks",
|
||||
".install",
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue