tslint-plugin-hbs
v0.0.0
Published
Runs hbs-template-lint as a TSLint rule and reports errors.
Downloads
1
Maintainers
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 [email protected]+
{
"extends": ["tslint-plugin-hbs"],
"rules": {
"check-hbs-template-literals": [true,
{ "ConfigFile": "./.eslint-template-lintrc.json" }
],
}
}
for [email protected]+
{
"rulesDirectory": ["tslint-plugin-hbs"],
"rules": {
"check-hbs-template-literals": [true,
{ "ConfigFile": "./.eslint-template-lintrc.json" }
],
}
}
Related
License
MIT © psbanka