Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
absqueued committed Jul 19, 2024
1 parent d34a50a commit 5544e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
if (!tsIgnorePattern.test(comment.value)) {
context.report({
node: comment,
message: `Invalid use of @ts-ignore. Use "${customPattern.replace('\\', '')}".`
message: `Invalid use of @ts-ignore. Use "${customPattern.replace(/\\/g, '')}".`
});
}
}
Expand Down

0 comments on commit 5544e11

Please sign in to comment.