0.0.0 • Published 6 years ago

tslint-plugin-hbs v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

tslint-plugin-hbs

Runs ember-template-lint as a TSLint rule and reports errors.

NOTE: This project uses official reporter from eslint-plugin-hbs

Changelog

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