Skip to content

Commit

Permalink
chore: remove unnecessary eslint-disable comments (#8336)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjuan committed Feb 2, 2024
1 parent 8e3609b commit 8d62ee6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export default createRule<Options, MessageIds>({
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function ConfigTypeScript(props: ConfigTypeScriptProps): React.JSX.Element {
getTypescriptOptions().reduce<Record<string, ConfigOptionsType>>(
(group, item) => {
const category = item.category!.message;
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
group[category] ??= {
heading: category,
fields: [],
Expand Down

0 comments on commit 8d62ee6

Please sign in to comment.