lint-to-the-future-ember-template
raw JSON →lint-to-the-future-ember-template is a plugin for lint-to-the-future that integrates with ember-template-lint to allow progressive adoption of lint rules in Ember.js projects. It generates and manages ignore files for template linting, enabling teams to incrementally fix lint errors without blocking CI. Current stable version is 4.1.0, released January 2026, with active development and regular major releases (v4.0.0 dropped support for ember-template-lint v2 and added v7 support). Key differentiators: seamless integration with lint-to-the-future ecosystem, automatic ignore insertion at top of template tags, multi-line disable support, and respect for .gitignore. ESM-only since v3.0.0, requires Node >=18 (dropped Node 14 in v2, Node 16 in v3).
Common errors
error Error: Cannot find module 'lint-to-the-future-ember-template' ↓
error TypeError: lttfEmberTemplate is not a constructor ↓
error Error [ERR_REQUIRE_ESM]: require() of ES Module ↓
Warnings
breaking v3.0.0 moved to ESM only with type:module. CommonJS require() will fail. ↓
breaking v4.0.0 dropped support for ember-template-lint v2. If your project uses ember-template-lint v2, this plugin will not work. ↓
deprecated Node 16 support dropped in v3.0.0, Node 14 dropped in v2.0.0. ↓
gotcha If you are using ember-template-lint v7, ensure you use lint-to-the-future-ember-template >=4.0.0. ↓
breaking v1.0.0 dropped support for Node <14. ↓
Install
npm install lint-to-the-future-ember-template yarn add lint-to-the-future-ember-template pnpm add lint-to-the-future-ember-template Imports
- default export wrong
const plugin = require('lint-to-the-future-ember-template')correctimport plugin from 'lint-to-the-future-ember-template' - type import
import type { LintToTheFutureEmberTemplateConfig } from 'lint-to-the-future-ember-template' - Plugin class wrong
import LintToTheFutureEmberTemplatePlugin from 'lint-to-the-future-ember-template'correctimport { LintToTheFutureEmberTemplatePlugin } from 'lint-to-the-future-ember-template'
Quickstart
// lint-to-the-future.config.js
import lttfEmberTemplate from 'lint-to-the-future-ember-template';
export default {
plugins: [lttfEmberTemplate],
// or using the class:
// plugins: [new LintToTheFutureEmberTemplatePlugin()]
};
// Then run:
// npx lint-to-the-future ignore
// npx lint-to-the-future check