Skip to content

Commit bd97cdd

Browse files
author
Josh Goldberg
committed
ESLint fixups
1 parent 01f6242 commit bd97cdd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reporting/reportConversionResults.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ const logMissingPlugins = (plugins: Set<string>, logger: Logger) => {
9595
);
9696
};
9797

98-
interface RuleWithNotices {
98+
type RuleWithNotices = {
9999
notices: any[];
100100
ruleName: string;
101-
}
101+
};
102102

103103
const logNotices = (converted: Map<string, ESLintRuleOptions>, logger: Logger) => {
104104
const rulesWithNotices = Array.from(converted.values()).filter(
@@ -108,7 +108,7 @@ const logNotices = (converted: Map<string, ESLintRuleOptions>, logger: Logger) =
108108
if (rulesWithNotices.length > 0) {
109109
logger.stdout.write(chalk.yellowBright(`📢 ${rulesWithNotices.length} ESLint`));
110110
logger.stdout.write(
111-
chalk.yellowBright(rulesWithNotices.length == 1 ? ` rule behaves` : ` rules behave`),
111+
chalk.yellowBright(rulesWithNotices.length === 1 ? ` rule behaves` : ` rules behave`),
112112
);
113113
logger.stdout.write(
114114
chalk.yellowBright(` differently from their TSLint counterparts: 📢${EOL}`),

0 commit comments

Comments
 (0)