Migrate util, types, state, sticker-creator to ESLint

This commit is contained in:
Sidney Keese 2020-09-14 14:56:35 -07:00 committed by Josh Perez
parent 372aa44e49
commit 2ade4acd52
115 changed files with 647 additions and 448 deletions

View file

@ -1,3 +1,4 @@
/* eslint-disable no-console */
// tslint:disable no-console
import * as fs from 'fs';
import { join, relative } from 'path';
@ -298,6 +299,7 @@ function setupRules(allRules: Array<RuleType>) {
throw new Error(`Rule '${rule.name}' is missing an expression`);
}
// eslint-disable-next-line no-param-reassign
rule.regex = new RegExp(rule.expression, 'g');
});
}