Add luacheck config file
This commit is contained in:
parent
9b0a7e2c26
commit
03245bf2a6
17
.luacheckrc
17
.luacheckrc
@ -10,7 +10,6 @@ read_globals = {
|
||||
|
||||
include_files = {
|
||||
"**/*.lua",
|
||||
"package/**/files/lib/gluon/ebtables/*",
|
||||
"package/**/luasrc/**/*",
|
||||
"targets/*",
|
||||
}
|
||||
@ -46,14 +45,6 @@ files["package/**/check_site.lua"] = {
|
||||
},
|
||||
}
|
||||
|
||||
files["package/**/files/lib/gluon/ebtables/*"] = {
|
||||
read_globals = {
|
||||
"chain",
|
||||
"rule",
|
||||
},
|
||||
max_line_length = false,
|
||||
}
|
||||
|
||||
files["package/**/luasrc/lib/gluon/config-mode/*"] = {
|
||||
globals = {
|
||||
"DynamicList",
|
||||
@ -84,6 +75,14 @@ files["package/**/luasrc/lib/gluon/**/controller/*"] = {
|
||||
},
|
||||
}
|
||||
|
||||
files["package/**/luasrc/lib/gluon/ebtables/*"] = {
|
||||
read_globals = {
|
||||
"chain",
|
||||
"rule",
|
||||
},
|
||||
max_line_length = false,
|
||||
}
|
||||
|
||||
files["targets/*"] = {
|
||||
read_globals = {
|
||||
"config",
|
||||
|
Loading…
Reference in New Issue
Block a user