Skip to content

Commit

Permalink
A few lint corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 19, 2025
1 parent c5d820c commit bd51f89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rules/no-redundant-files.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fixRemoveArrayElement } from "eslint-fix-utils";
import type { AST as JsonAST } from "jsonc-eslint-parser";

import { fixRemoveArrayElement } from "eslint-fix-utils";
import * as ESTree from "estree";

import { createRule } from "../createRule.js";
Expand Down
5 changes: 3 additions & 2 deletions src/rules/unique-dependencies.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { AST as JsonAST } from "jsonc-eslint-parser";

import {
fixRemoveArrayElement,
fixRemoveObjectProperty,
} from "eslint-fix-utils";
import type { AST as JsonAST } from "jsonc-eslint-parser";

import * as ESTree from "estree";

import { createRule } from "../createRule.js";
Expand Down Expand Up @@ -85,6 +85,7 @@ export const rule = createRule({
node.value.properties.map(
(property) => property.key,
),
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
(property) => property.parent!,
);
break;
Expand Down

0 comments on commit bd51f89

Please sign in to comment.