Registry / testing / lint-to-the-future-ember-template

lint-to-the-future-ember-template

JSON →
library4.1.0jsnpmunverified

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).

npm install lint-to-the-future-ember-template
INSTALL
IMPORT
SIG · LINT-TO-THE-FUTURE
L
lint-to-the-future-ember-template
testingjavascriptv4.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default export
import plugin from 'lint-to-the-future-ember-template'
const plugin = require('lint-to-the-future-ember-template')
ESM-only since v3.0.0; CommonJS require() fails
type import
import type { LintToTheFutureEmberTemplateConfig } from 'lint-to-the-future-ember-template'
Types are included; use import type for TypeScript
Plugin class
import { LintToTheFutureEmberTemplatePlugin } from 'lint-to-the-future-ember-template'
import LintToTheFutureEmberTemplatePlugin from 'lint-to-the-future-ember-template'
Named export, not default; common mistake

Shows how to configure lint-to-the-future-ember-template as a plugin in lint-to-the-future config file, using ESM imports. Assumes lint-to-the-future is installed.

// 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
lint-to-the-future --version
Debug
Known issues
breakingv3.0.0 moved to ESM only with type:module. CommonJS require() will fail.
fix
Use import syntax. Set type:module in package.json or use .mjs extension.
affects: >=3.0.0
breakingv4.0.0 dropped support for ember-template-lint v2. If your project uses ember-template-lint v2, this plugin will not work.
fix
Upgrade ember-template-lint to v3, v4, v5, v6, or v7.
affects: >=4.0.0
deprecatedNode 16 support dropped in v3.0.0, Node 14 dropped in v2.0.0.
fix
Use Node 18, 20, or >=22 as specified in engines.
affects: >=3.0.0
gotchaIf you are using ember-template-lint v7, ensure you use lint-to-the-future-ember-template >=4.0.0.
fix
Upgrade to v4.0.0 or later.
affects: <4.0.0
breakingv1.0.0 dropped support for Node <14.
fix
Use Node >=14 (but recommended Node >=18 for latest versions).
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'lint-to-the-future-ember-template'
Package not installed or incorrect import path.
fix
Run npm install lint-to-the-future-ember-template. Ensure import path is correct: 'lint-to-the-future-ember-template'
TypeError: lttfEmberTemplate is not a constructor
Attempting to use class with 'new' on default import, but default export is not a class.
fix
Use import plugin from 'lint-to-the-future-ember-template' without 'new'.
Error [ERR_REQUIRE_ESM]: require() of ES Module
Using CommonJS require() on an ESM-only module (v3+).
fix
Switch to import syntax. If you must use CommonJS, use dynamic import: import('lint-to-the-future-ember-template')
Upgrade
Version history
4.1.0latest on npm
Audit
Dependencies
ember-template-lintrequiredpeer dependency; ember-template-lint must be installed in the project
lint-to-the-futurerequiredpeer dependency; this is a plugin for lint-to-the-future
Agent activity
2 hits · last 30 days
node
2
Resources
lint-to-the-future-ember-template — npm install lint-to-the-future-ember-template · libregistry