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

Add no-negated-condition rule #1963

Merged
merged 18 commits into from Nov 16, 2022

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Nov 15, 2022

Fixes #1957

Not ready for review yet. Need handle edge cases. Open here so I won't forgot about it.

@fisker fisker marked this pull request as ready for review November 16, 2022 10:01
docs/rules/no-negated-condition.md Outdated Show resolved Hide resolved
docs/rules/no-negated-condition.md Outdated Show resolved Hide resolved
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
@sindresorhus sindresorhus merged commit e4aaa42 into sindresorhus:main Nov 16, 2022
@fisker fisker deleted the no-negated-condition branch November 16, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule proposal: Autofixable no-negated-condition
2 participants