Add .luacheckrc
This commit is contained in:
parent
866594033e
commit
9e7e4b64ac
1 changed files with 28 additions and 0 deletions
28
.luacheckrc
Normal file
28
.luacheckrc
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
quiet = 1
|
||||||
|
codes = true
|
||||||
|
|
||||||
|
exclude_files = {
|
||||||
|
".luarocks/*",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ignore = {
|
||||||
|
"631", "61[124]",
|
||||||
|
"542",
|
||||||
|
"412",
|
||||||
|
"321/bit",
|
||||||
|
"21[123]"
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Read-write globals (i.e. they can be defined)
|
||||||
|
-- globals = {
|
||||||
|
--
|
||||||
|
-- }
|
||||||
|
-- Read-only globals
|
||||||
|
read_globals = {
|
||||||
|
"bit",
|
||||||
|
"it",
|
||||||
|
"describe",
|
||||||
|
"dofile",
|
||||||
|
}
|
||||||
|
std = "max"
|
Loading…
Reference in a new issue