build: add luacheck support for package/features

This commit is contained in:
Matthias Schiffer 2020-06-02 21:31:46 +02:00
parent ee5ec5afe5
commit 97f1515284

View File

@ -12,6 +12,7 @@ include_files = {
"**/*.lua", "**/*.lua",
"package/**/luasrc/**/*", "package/**/luasrc/**/*",
"targets/*", "targets/*",
"package/features",
} }
exclude_files = { exclude_files = {
@ -104,3 +105,10 @@ files["targets/*"] = {
"try_config", "try_config",
}, },
} }
files["package/features"] = {
read_globals = {
"_",
"feature",
},
}