@lint-todo/ember-template-lint-formatter-todo
Version:
An Ember Template Lint formatter for todos
37 lines (24 loc) • 2.32 kB
Markdown
# @lint-todo/ember-template-lint-formatter-todo

[](https://badge.fury.io/js/%40lint-todo%2Fember-template-lint-formatter-todo)
[](https://github.com/@lint-todo/ember-template-lint-formatter-todo/blob/master/package.json)


[](#badge)
> A custom formatter for `ember-template-lint` that will display a table of todos for your project, sorted by due date.
## Install
```shell
npm i @lint-todo/ember-template-lint-formatter-todo --save-dev
# or
yarn add @lint-todo/ember-template-lint-formatter-todo --dev
```
## Usage
```shell
ember-template-lint . --format @lint-todo/ember-template-lint-formatter-todo
```
Running with the formatter will output a table of todos, ordered by due dates sorted by when they're due.
<img width="784" alt="Todo Formatter" src="static/output.png">
If you'd like to restrict the output to a specific rule ID, just pass the `--rule` option to `ember-template-lint`.
```shell
ember-template-lint . --rule "no-implicit-this:error" --format @lint-todo/ember-template-lint-formatter-todo
```