Skip to content

Commit cc923c9

Browse files
authored
remove outdated tip in readme
Ember CLI blueprint contain `lint:hbs` and `lint:hbs:fix` scripts since 3.24. Fix can be applied via `ember-template-lint . --fix` rather than running prettier separately.
1 parent 859c8d3 commit cc923c9

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,6 @@ The recommended set will apply [these rules](https://github.com/ember-template-l
5252

5353
Prettier can be configured via [standard prettier config files](https://prettier.io/docs/en/configuration.html).
5454

55-
## Tips
56-
57-
You may want to define these two scripts in your package.json:
58-
59-
```json
60-
{
61-
"scripts": {
62-
"lint:hbs": "ember-template-lint .",
63-
"format:hbs": "prettier **/*.hbs --write"
64-
}
65-
}
66-
```
67-
68-
`yarn lint:hbs` is useful in CI. `yarn format:hbs` will let you format your templates if your editor does not have this feature yet.
69-
7055
## Credits
7156

7257
This plugin has been inspired by [the prettier plugin](https://github.com/prettier/eslint-plugin-prettier) for Eslint.

0 commit comments

Comments
 (0)