Skip to content

allow == false in SimplifyBooleanExpression #524

@Geokureli

Description

@Geokureli

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions