tslint-plugin-hbs
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

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

Dependencies (1)

Dev Dependencies (4)

Package Sidebar

Install

npm i tslint-plugin-hbs

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

6.42 kB

Total Files

8

Last publish

Collaborators

  • psbanka