README
tslint-plugin-hbs
Runs ember-template-lint as a TSLint rule and reports errors.
NOTE: This project uses official reporter from [eslint-plugin-hbs]
Sample
Install
# using npm
npm install --save-dev tslint-plugin-hbs ember-template-lint
# using yarn
yarn add --dev tslint-plugin-hbs ember-template-lint
Usage
(tslint.json)
for tslint@5.2.0+
{
"extends": ["tslint-plugin-hbs"],
"rules": {
"check-hbs-template-literals": [true,
{ "ConfigFile": "./.eslint-template-lintrc.json" }
],
}
}
for tslint@5.2.0+
{
"rulesDirectory": ["tslint-plugin-hbs"],
"rules": {
"check-hbs-template-literals": [true,
{ "ConfigFile": "./.eslint-template-lintrc.json" }
],
}
}
Related
License
MIT © psbanka