Skip to content

Commit

Permalink
add -D flag to npm command
Browse files Browse the repository at this point in the history
  • Loading branch information
damirka committed Nov 26, 2024
1 parent 28f3e19 commit c7c6ce4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions external-crates/move/tooling/prettier-move/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ prettier --plugin /path/to/local/npm/node_modules/@mysten/prettier-plugin-move/o
If you decide to use the plugin per-project, you can install it in the project's directory. This way,
the plugin will be available via `prettier` call in the project's directory.

```
npm i prettier @mysten/prettier-plugin-move
```bash
# install as a dev-dependency
npm i -D prettier @mysten/prettier-plugin-move
```

Add the `.prettierrc` or a similar configuration file (see [all supported formats](https://prettier.io/docs/en/configuration.html)):
Expand Down

0 comments on commit c7c6ce4

Please sign in to comment.