{"id":25883,"library":"lint-to-the-future-ember-template","title":"lint-to-the-future-ember-template","description":"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).","status":"active","version":"4.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/mansona/lint-to-the-future-ember-template","tags":["javascript"],"install":[{"cmd":"npm install lint-to-the-future-ember-template","lang":"bash","label":"npm"},{"cmd":"yarn add lint-to-the-future-ember-template","lang":"bash","label":"yarn"},{"cmd":"pnpm add lint-to-the-future-ember-template","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency; ember-template-lint must be installed in the project","package":"ember-template-lint","optional":false},{"reason":"peer dependency; this is a plugin for lint-to-the-future","package":"lint-to-the-future","optional":false}],"imports":[{"note":"ESM-only since v3.0.0; CommonJS require() fails","wrong":"const plugin = require('lint-to-the-future-ember-template')","symbol":"default export","correct":"import plugin from 'lint-to-the-future-ember-template'"},{"note":"Types are included; use import type for TypeScript","wrong":"","symbol":"type import","correct":"import type { LintToTheFutureEmberTemplateConfig } from 'lint-to-the-future-ember-template'"},{"note":"Named export, not default; common mistake","wrong":"import LintToTheFutureEmberTemplatePlugin from 'lint-to-the-future-ember-template'","symbol":"Plugin class","correct":"import { LintToTheFutureEmberTemplatePlugin } from 'lint-to-the-future-ember-template'"}],"quickstart":{"code":"// lint-to-the-future.config.js\nimport lttfEmberTemplate from 'lint-to-the-future-ember-template';\n\nexport default {\n  plugins: [lttfEmberTemplate],\n  // or using the class:\n  // plugins: [new LintToTheFutureEmberTemplatePlugin()]\n};\n\n// Then run:\n// npx lint-to-the-future ignore\n// npx lint-to-the-future check","lang":"typescript","description":"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."},"warnings":[{"fix":"Use import syntax. Set type:module in package.json or use .mjs extension.","message":"v3.0.0 moved to ESM only with type:module. CommonJS require() will fail.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Upgrade ember-template-lint to v3, v4, v5, v6, or v7.","message":"v4.0.0 dropped support for ember-template-lint v2. If your project uses ember-template-lint v2, this plugin will not work.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Use Node 18, 20, or >=22 as specified in engines.","message":"Node 16 support dropped in v3.0.0, Node 14 dropped in v2.0.0.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Upgrade to v4.0.0 or later.","message":"If you are using ember-template-lint v7, ensure you use lint-to-the-future-ember-template >=4.0.0.","severity":"gotcha","affected_versions":"<4.0.0"},{"fix":"Use Node >=14 (but recommended Node >=18 for latest versions).","message":"v1.0.0 dropped support for Node <14.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run npm install lint-to-the-future-ember-template. Ensure import path is correct: 'lint-to-the-future-ember-template'","cause":"Package not installed or incorrect import path.","error":"Error: Cannot find module 'lint-to-the-future-ember-template'"},{"fix":"Use import plugin from 'lint-to-the-future-ember-template' without 'new'.","cause":"Attempting to use class with 'new' on default import, but default export is not a class.","error":"TypeError: lttfEmberTemplate is not a constructor"},{"fix":"Switch to import syntax. If you must use CommonJS, use dynamic import: import('lint-to-the-future-ember-template')","cause":"Using CommonJS require() on an ESM-only module (v3+).","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}