@zestia/template-lint-config
This package provides linting rules for HTML templates.
The rules are based on community standards, with a few extra ones specific to Zestia.
Installation
npm install --save-dev @zestia/template-lint-config
Setup
-
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 ."
Running
npm run lint:hbs