Add lint disables for no-unnecessary-generics (#19508)

This commit is contained in:
Andy
2017-09-01 08:34:37 -07:00
committed by GitHub
parent cb2dbfbb50
commit d74806eb3d
78 changed files with 250 additions and 206 deletions

View File

@@ -39,7 +39,16 @@ function fix(config: any): any {
const out: any = {};
for (const key in config) {
let value = config[key];
out[key] = value;
out[key] = key === "rules" ? fixRules(value) : value;
}
return out;
}
function fixRules(rules: any): any {
const out: any = {};
for (const key in rules) {
out[key] = rules[key];
}
return out;
}