ESLint: allow for..of
This commit is contained in:
parent
ff4aa228f6
commit
9e9a815a2b
36 changed files with 6 additions and 57 deletions
|
@ -7,7 +7,6 @@
|
|||
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
import { ipcRenderer } from 'electron';
|
||||
|
||||
import {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
/* eslint-disable no-nested-ternary */
|
||||
/* eslint-disable camelcase */
|
||||
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
/* eslint-disable no-console */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue