Skip to content

Commit

Permalink
Minor: shortening.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Dec 2, 2024
1 parent b1f405b commit 082b781
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ const v22 = ESLintUtils.RuleCreator.withoutDocs({
fixer.replaceTextRange([method.range[0], path.range[1]], request),
});
},
splitResponse: (node) => {
splitResponse: (node) =>
ctx.report({
messageId: "remove",
node,
data: { subject: "property", name: node.key.name },
fix: (fixer) => fixer.remove(node),
});
},
}),
}),
});

Expand Down

0 comments on commit 082b781

Please sign in to comment.