feat(eslint-config): extends typescript-eslint recommended (#6076)

This commit is contained in:
neverland
2020-04-17 14:51:55 +08:00
committed by GitHub
parent 28bbef6b6f
commit 31674a162c
10 changed files with 81 additions and 76 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ function assignKey(to: ObjectIndex, from: ObjectIndex, key: string) {
if (!hasOwnProperty.call(to, key) || !isObject(val)) {
to[key] = val;
} else {
// eslint-disable-next-line no-use-before-define
// eslint-disable-next-line @typescript-eslint/no-use-before-define
to[key] = deepAssign(Object(to[key]), from[key]);
}
}