ESLint: allow for..of

This commit is contained in:
Evan Hahn
2021-08-26 13:18:00 -05:00
committed by GitHub
parent ff4aa228f6
commit 9e9a815a2b
36 changed files with 6 additions and 57 deletions

View File

@@ -129,9 +129,6 @@ function cleanDataInner(
const result: CleanedArray = [];
let index = 0;
pathsChanged.push(path);
// `for ... of` is the cleanest way to go through "generic" iterables without
// a helper library.
// eslint-disable-next-line no-restricted-syntax
for (const value of dataAsRecord) {
result.push(
cleanDataInner(