Skip to content

Commit

Permalink
Readme: simplified example commands
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiospampinato committed Nov 30, 2023
1 parent 774b6db commit 4eea28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ npm install prettier@next
It should be largely backwards compatible:

```sh
prettier src --check # Like before, but faster
prettier . --check # Like before, but faster
```

You can also try it via `npx`, though `npx` itself is pretty slow:

```sh
npx prettier@next src --check
npx prettier@next . --check
```

0 comments on commit 4eea28a

Please sign in to comment.