Skip to content

Commit

Permalink
Ref: Removing string type comparison in migration (#1984)
Browse files Browse the repository at this point in the history
After moving to `@typescript-eslint/utils` for creating the rule.
  • Loading branch information
RobinTail committed Aug 15, 2024
1 parent e14df40 commit ef188a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const v20 = ESLintUtils.RuleCreator.withoutDocs({
Identifier: (node) => {
if (
node.name === "MockOverrides" &&
`${node.parent.type}` === "TSInterfaceDeclaration"
node.parent.type === "TSInterfaceDeclaration"
) {
ctx.report({
node,
Expand Down

0 comments on commit ef188a4

Please sign in to comment.