Skip to content

Commit

Permalink
Update rules.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Oct 1, 2023
1 parent 9f75101 commit cb3c0b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/lib/utils/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ describe("Check if the strict of all rules is correct", () => {
it(messageId, () => {
const message = rule.meta.messages[messageId]
assert.ok(
message.endsWith(".") ||
message.endsWith("?") ||
message.endsWith("}}"),
/(?:[.?]|\}\})\)?$/u.test(message),
"Doesn't end with a dot.",
)
})
Expand Down

0 comments on commit cb3c0b9

Please sign in to comment.