fix/optimize wtv-flashrom, wtv-disk, wtv-guide
This commit is contained in:
@@ -152,6 +152,11 @@ function checkScopeErrors(file) {
|
||||
"session_data": "readonly",
|
||||
};
|
||||
}
|
||||
|
||||
if (serviceName === "wtv-guide") {
|
||||
eslintConfig.globals["wtvguide"] = "readonly";
|
||||
}
|
||||
|
||||
if (service.modules) {
|
||||
for (const moduleName of service.modules) {
|
||||
eslintConfig.globals[moduleName] = "readonly";
|
||||
|
||||
Reference in New Issue
Block a user