Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in no-negation-in-equality-check's message #2483

Closed
incendial opened this issue Oct 20, 2024 · 1 comment
Closed

Typo in no-negation-in-equality-check's message #2483

incendial opened this issue Oct 20, 2024 · 1 comment
Labels

Comments

@incendial
Copy link

Hi, it looks like there is a typo in no-negation-in-equality-check's message https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/rules/no-negation-in-equality-check.js#L15

const messages = {
  [MESSAGE_ID_ERROR]: 'Negated expression in not allowed in equality check.', // Should be "is not" instead of "in not"
  [MESSAGE_ID_SUGGESTION]: 'Switch to \'{{operator}}\' check.',
};
@incendial incendial added the bug label Oct 20, 2024
@fregante fregante changed the title Typo in no-negation-in-equality-check's message 2482|prefer-global-this: should allow window.setTimeout() and setInterval() Oct 20, 2024
@fregante fregante changed the title 2482|prefer-global-this: should allow window.setTimeout() and setInterval() prefer-global-this: should allow window.setTimeout() and setInterval() Oct 20, 2024
@github-actions github-actions bot changed the title prefer-global-this: should allow window.setTimeout() and setInterval() prefer-global-this should allow window.setTimeout() and setInterval() Oct 20, 2024
@fregante fregante changed the title prefer-global-this should allow window.setTimeout() and setInterval() Typo in no-negation-in-equality-check's message Oct 20, 2024
@fregante
Copy link
Collaborator

@incendial Thanks! Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants