mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 14:28:21 +01:00
chore: Add luacheck linter project configuration
This commit is contained in:
parent
52b22da7e3
commit
f6509d4fd5
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…
Reference in New Issue
Block a user