Skip to content

Commit 1a6cee5

Browse files
authored
Merge pull request #276 from ember-template-lint/update-readme
Update README
2 parents 7c63e92 + 46badf3 commit 1a6cee5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ It uses [Prettier](https://github.com/prettier/prettier) to lint your handlebars
77
Here is an output example:
88

99
```handlebars
10-
error: Replace `New·Addons</h1>` with <h1>⏎New Addons⏎</h1>` (prettier/prettier) at app/templates/lists/new-addons.hbs:2:5:
11-
1 | <div class="addons-index">
12-
> 2 | <h1>New Addons</h1>
13-
3 | {{addon-list addons=model}}
14-
4 | </div>
10+
2:18 error Replace `·{{@lastName}}··` with `{{@lastName}}` prettier
11+
1 | <h1>A title</h1>
12+
> 2 | <p>{{@firstName}} {{@lastName}} , welcome!</p>
13+
3 | <p>Text</p>
1514
```
1615

17-
> `./node_modules/.bin/ember-template-lint app/templates/lists/new-addons.hbs` (code from [emberobserver](https://github.com/emberobserver/client)).
18-
1916
## Compatibility
2017

2118
- [Node.js](https://nodejs.org/) `^16.0.0 || ^18.0.0 || >=20.0.0`
2219
- [ember-template-lint](https://github.com/ember-template-lint/ember-template-lint/) `>=4.0.0`
2320
- [prettier](https://prettier.io/) `>=3.0.0`
2421

25-
Note: ember-template-lint-plugin-prettier@3 is compatible with older versions of
26-
ember-template-lint, in particular ember-template-lint@3.
22+
Note: ember-template-lint-plugin-prettier@4 is compatible with older versions of
23+
prettier, in particular prettier@2.
24+
25+
Note2: ember-template-lint-plugin-prettier@3 is compatible with older versions
26+
of ember-template-lint, in particular ember-template-lint@3.
2727

2828
## Install
2929

0 commit comments

Comments
 (0)