# ember/no-legacy-helper-imports 🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix). Since Ember 7.1, the most common utility helpers and modifiers are available in strict-mode templates (`.gjs` / `.gts`) as built-in keywords, without an import: `and`, `array`, `element`, `eq`, `fn`, `gt`, `gte`, `hash`, `lt`, `lte`, `neq`, `not`, `on`, `or` This rule flags imports that are superseded by those keywords: | Import | Keyword | | -------------------------------------------------- | ----------------------------------------------------------------------- | | `ember-truth-helpers` (and its `/helpers/*` paths) | `eq`, `neq` (was `notEq`), `not`, `and`, `or`, `gt`, `gte`, `lt`, `lte` | | `ember-element-helper` | `element` | | `@ember/helper` | `array`, `hash`, `fn` | | `@ember/modifier` | `on` | Other exports of `@ember/helper` and `@ember/modifier` (such as `helper`, `concat`, `get`, `uniqueId`, `setModifierManager`) are not flagged. This rule does nothing when the installed `ember-source` version is below 7.1. ## Rule Details The autofix removes the superseded specifiers (dropping the whole import when nothing is left) and renames usages to the keyword name where it differs, e.g. `notEq` → `neq` or an aliased local back to its keyword. The autofix is skipped when it cannot be done safely: - the binding is referenced in JavaScript code (the keywords only exist inside `