From f503429b2cc41a0be2f84dbff35d6ece47f5a36e Mon Sep 17 00:00:00 2001 From: yeonjuan Date: Fri, 2 Feb 2024 02:23:24 +0900 Subject: [PATCH] chore: remove unnecessary eslint-disable comments --- packages/eslint-plugin/src/rules/consistent-type-imports.ts | 1 - packages/website/src/components/config/ConfigTypeScript.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/eslint-plugin/src/rules/consistent-type-imports.ts b/packages/eslint-plugin/src/rules/consistent-type-imports.ts index 4ac3c011746d..b6d2a0fdce81 100644 --- a/packages/eslint-plugin/src/rules/consistent-type-imports.ts +++ b/packages/eslint-plugin/src/rules/consistent-type-imports.ts @@ -119,7 +119,6 @@ export default createRule({ ImportDeclaration(node): void { const source = node.source.value; // sourceImports is the object containing all the specifics for a particular import source, type or value - // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition sourceImportsMap[source] ??= { source, reportValueImports: [], // if there is a mismatch where type importKind but value specifiers diff --git a/packages/website/src/components/config/ConfigTypeScript.tsx b/packages/website/src/components/config/ConfigTypeScript.tsx index fb41fafc1976..b367af6fafb7 100644 --- a/packages/website/src/components/config/ConfigTypeScript.tsx +++ b/packages/website/src/components/config/ConfigTypeScript.tsx @@ -35,7 +35,6 @@ function ConfigTypeScript(props: ConfigTypeScriptProps): React.JSX.Element { getTypescriptOptions().reduce>( (group, item) => { const category = item.category!.message; - // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition group[category] ??= { heading: category, fields: [],