From cc923c9c4ee71eea0bc4d9913e5d0125d8d84514 Mon Sep 17 00:00:00 2001 From: Jeldrik Hanschke Date: Sun, 5 Nov 2023 09:45:13 +0100 Subject: [PATCH] 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. --- README.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/README.md b/README.md index 0c51650..e2a27bc 100644 --- a/README.md +++ b/README.md @@ -52,21 +52,6 @@ The recommended set will apply [these rules](https://github.com/ember-template-l Prettier can be configured via [standard prettier config files](https://prettier.io/docs/en/configuration.html). -## Tips - -You may want to define these two scripts in your package.json: - -```json -{ - "scripts": { - "lint:hbs": "ember-template-lint .", - "format:hbs": "prettier **/*.hbs --write" - } -} -``` - -`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. - ## Credits This plugin has been inspired by [the prettier plugin](https://github.com/prettier/eslint-plugin-prettier) for Eslint.