We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a353ab commit 5c088d8Copy full SHA for 5c088d8
README.md
@@ -29,8 +29,14 @@ Install `prettier` and `prettier-plugin-svelte` as dev dependencies in your proj
29
30
Then format your code using Prettier CLI. You may need to add `--plugin-search-dir=.`
31
32
+As a one-time run:
33
```
-prettier --write --plugin-search-dir=. ./**/*.html
34
+npx prettier --write --plugin-search-dir=. ./**/*.html
35
+```
36
+
37
+As part of your scripts in `package.json`:
38
39
+"format": "prettier --write --plugin-search-dir=. ./**/*.html"
40
41
42
If you want to customize some formatting behavior, see section "Options" below.
0 commit comments