Skip to content

Commit

Permalink
Fix typo in no-negation-in-equality-check's error
Browse files Browse the repository at this point in the history
Closes #2483
  • Loading branch information
fregante authored Oct 20, 2024
1 parent 2b469be commit fe4e7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/no-negation-in-equality-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const {
const MESSAGE_ID_ERROR = 'no-negation-in-equality-check/error';
const MESSAGE_ID_SUGGESTION = 'no-negation-in-equality-check/suggestion';
const messages = {
[MESSAGE_ID_ERROR]: 'Negated expression in not allowed in equality check.',
[MESSAGE_ID_ERROR]: 'Negated expression is not allowed in equality check.',
[MESSAGE_ID_SUGGESTION]: 'Switch to \'{{operator}}\' check.',
};

Expand Down

0 comments on commit fe4e7bc

Please sign in to comment.