💼 This rule is enabled in the following configs: strict-gjs, strict-gts.
Disallows negated comparison operators in templates.
Use positive comparison operators with {{unless}} instead of negated comparison operators like not-eq or ne.
Examples of incorrect code for this rule:
<template>
{{#if (not-eq this.value 5)}}
Not equal
{{/if}}
</template><template>
{{#if (ne this.a this.b)}}
Not equal
{{/if}}
</template>Examples of correct code for this rule:
<template>
{{#unless (eq this.value 5)}}
Not equal
{{/unless}}
</template><template>
{{#if (eq this.value 5)}}
Equal
{{/if}}
</template>