Skip to content

Commit 45bd891

Browse files
committed
Update outdated example
1 parent 7c63e92 commit 45bd891

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ 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`

0 commit comments

Comments
 (0)