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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 6 additions and 57 deletions

View file

@ -1,8 +1,6 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* eslint-disable no-restricted-syntax */
import { assert } from 'chai';
import * as sinon from 'sinon';
import { noop } from 'lodash';

View file

@ -2,7 +2,6 @@
// SPDX-License-Identifier: AGPL-3.0-only
/* eslint-disable max-classes-per-file */
/* eslint-disable no-restricted-syntax */
/* eslint-disable no-await-in-loop */
import EventEmitter, { once } from 'events';

View file

@ -95,9 +95,6 @@ describe('uploadDebugLogs', () => {
{ fields: { key: '123' }, url: 'not a valid URL' },
];
// We want to make sure these run serially, so we can't use `Promise.all`. They're
// async, so we can't use `forEach`. `for ... of` is a reasonable option here.
// eslint-disable-next-line no-restricted-syntax
for (const body of bodies) {
this.fakeGet.resolves({ body });