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

allow == false in SimplifyBooleanExpression #524

Open
Geokureli opened this issue Aug 9, 2023 · 0 comments
Open

allow == false in SimplifyBooleanExpression #524

Geokureli opened this issue Aug 9, 2023 · 0 comments

Comments

@Geokureli
Copy link

Geokureli commented Aug 9, 2023

In haxe, == true is always a mistake, but I prefer == false over ! just because it's so easy to miss a single character.

Would like a way to prevent == true but not == false.
perhaps:

"type": "SimplifyBooleanExpression"
"props": {
	"allowFalse": true
}
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

No branches or pull requests

1 participant