template-lint-config
/
6.0.7
template-lint-config 6.0.7
Install from the command line:
Learn more about npm packages
$ npm install @zestia/template-lint-config@6.0.7
Install via package.json:
"@zestia/template-lint-config": "6.0.7"
About this version
This package provides linting rules for HTML templates.
The rules are based on community standards, with a few extra ones specific to Zestia.
npm install --save-dev @zestia/template-lint-config
-
Create the following file
.template-lintrc.js
module.exports = { plugins: ['@zestia/template-lint-config'], extends: 'zestia:recommended' };
-
Add the following to
scripts
inpackage.json
"lint:hbs": "ember-template-lint ."
npm run lint:hbs