Skip to content

Commit

Permalink
fix: only underline the class identifier, not the entire class
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Dec 2, 2022
1 parent fdbaa54 commit 2db9e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/commandSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const commandSummary = ESLintUtils.RuleCreator.withoutDocs({
if (isInCommandDirectory(context) && extendsSfCommand(node)) {
if (!node.body.body.some((member) => getClassPropertyIdentifierName(member) === 'summary')) {
context.report({
node,
node: node.id,
messageId: 'summary',
});
}
Expand Down

0 comments on commit 2db9e7d

Please sign in to comment.