0.1.7 • Published 7 years ago
ember-cli-light-template-lint v0.1.7
ember-cli-light-template-lint
Keep in mind
This plugin provides simple cli commands which runs functionality of ember-template-lint
plugin! The whole linting work is done by ember-template-lint
plugin (which is included in this package dependencies).
Super lightweight plugin to enable functionality from ember-template-lint
by CLI commands!
- It's only about 6.5Kb of code.
- Depends on only 2 light packages and
ember-template-lint
. - This plugin can run standalone without ember-cli.
- Great for Continous Integration purposes.
- Supports rules defined in
.template-lintrc.js
- Output is similar to
ember-cli-template-lint
Installation
(note: Both commands are doing the same thing. But in CI you may have not installed ember-cli, so standalone install is preffered for CI)
- With ember
ember install ember-cli-light-template-lint
- Standalone
npm install ember-cli-light-template-lint --save-dev
Running
- With ember
ember light-template-lint
- Standalone
node node_modules/ember-cli-light-template-lint/bin/lint.js
Options
- -d, --dir templatesDir templates directory (default: app/templates)
Lint rules
Available on: ember-template-lint
Notes
- Light linter isn't triggered by
ember test
command yet.