Skip to content

Commit f2968ba

Browse files
committed
docs: add usage
1 parent 4699a21 commit f2968ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: README.md

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ npm install prettier prettier-plugin-package --save-dev
3434

3535
## Usage
3636

37+
Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example:
38+
39+
```console
40+
$ npx prettier --write package.json
41+
```
42+
3743
## Rules
3844

3945
This plugin enforces its own set of opinionated rules:

0 commit comments

Comments
 (0)