Commit e555454
committed
remove: template-no-negated-comparison
This rule has no upstream equivalent in ember-template-lint and its
premise is debatable: `not-eq` is a first-class ember-truth-helpers
helper, so flagging it as wrong is a style opinion rather than a
correctness concern. Additionally, it conflicts conceptually with the
newly-restored `template-no-negated-condition`, which autofixes
`(not (eq ...))` to `not-eq` — the opposite direction.
Opening for NullVoxPopuli to decide.1 parent a98bbca commit e555454
4 files changed
Lines changed: 0 additions & 142 deletions
File tree
- docs/rules
- lib/rules
- tests/lib/rules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments