build: add luacheck support for package/features
This commit is contained in:
parent
ee5ec5afe5
commit
97f1515284
@ -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",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user