ember-template-lint-plugin-page-title

1.0.1 • Public • Published

ember-template-lint-plugin-page-title

An ember-template-lint plugin that enforces every route template to have a page title set using the {{page-title}} helper.

Compatibility

Install

yarn add -D ember-template-lint-plugin-page-title

As one of the peerDependencies, ember-template-lint will have to be installed in your project.

To use it, merge the following object to your .template-lintrc.js file:

module.exports = {
  plugins: ["ember-template-lint-plugin-page-title"],

  rules: {
    "require-valid-page-title": 'warn',
  }
};

Package Sidebar

Install

npm i ember-template-lint-plugin-page-title

Weekly Downloads

18

Version

1.0.1

License

MIT

Unpacked Size

5.22 kB

Total Files

6

Last publish

Collaborators

  • colenso