{"id":25221,"library":"ember-template-lint-plugin-page-title","title":"Ember Template Lint Plugin Page Title","description":"An ember-template-lint plugin that enforces every route template to have a page title set using the `{{page-title}}` helper. Version 1.0.1 is the current stable release, with no recent release cadence data. Key differentiator: it ensures route templates in Ember applications always contain a page title, leveraging the ember-page-title addon, and integrates seamlessly with the ember-template-lint rule system.","status":"active","version":"1.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","ember-template-lint","ember-template-lint-plugin","handlebars","ember-page-title"],"install":[{"cmd":"npm install ember-template-lint-plugin-page-title","lang":"bash","label":"npm"},{"cmd":"yarn add ember-template-lint-plugin-page-title","lang":"bash","label":"yarn"},{"cmd":"pnpm add ember-template-lint-plugin-page-title","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; the plugin requires ember-template-lint >=4.0.0 to run its rules","package":"ember-template-lint","optional":false}],"imports":[{"note":"The plugin is not imported as a JS module; it is referenced by name in the .template-lintrc.js plugins array.","wrong":"const plugin = require('ember-template-lint-plugin-page-title')","symbol":"Plugin","correct":"module.exports = { plugins: ['ember-template-lint-plugin-page-title'], rules: { 'require-valid-page-title': 'warn' } };"}],"quickstart":{"code":"// Install the plugin and peer dependency\nyarn add -D ember-template-lint ember-template-lint-plugin-page-title\n\n// .template-lintrc.js\nmodule.exports = {\n  plugins: ['ember-template-lint-plugin-page-title'],\n  rules: {\n    'require-valid-page-title': 'warn'\n  }\n};","lang":"javascript","description":"Install and configure ember-template-lint-plugin-page-title to warn when route templates lack a page title."},"warnings":[{"fix":"Ensure you have ember-template-lint version 4 or above installed.","message":"The plugin only works with ember-template-lint >=4.0.0. Older versions are incompatible.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Add 'require-valid-page-title': 'warn' (or 'error') to your .template-lintrc.js rules.","message":"The rule 'require-valid-page-title' must be added to the rules object; omitting it will have no effect.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Install ember-page-title: yarn add -D ember-page-title","message":"The plugin assumes the presence of the {{page-title}} helper from ember-page-title. Without that addon installed, the rule may produce false positives.","severity":"gotcha","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 yarn add -D ember-template-lint-plugin-page-title","cause":"The plugin package is not installed or not listed in devDependencies.","error":"Cannot find module 'ember-template-lint-plugin-page-title'"},{"fix":"Add 'ember-template-lint-plugin-page-title' to the plugins array in your config file.","cause":"The plugin is not registered in the plugins array of .template-lintrc.js.","error":"Rule 'require-valid-page-title' was not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}