Commit ceae9f52 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'sh-improve-prettier-docs' into 'master'

Fix documentation on using prettier for a specific directory

See merge request gitlab-org/gitlab-ce!23336
parents b0eb1128 bfaf72e0
...@@ -47,13 +47,13 @@ The source of these Yarn scripts can be found in `/scripts/frontend/prettier.js` ...@@ -47,13 +47,13 @@ The source of these Yarn scripts can be found in `/scripts/frontend/prettier.js`
### Scripts during Conversion period ### Scripts during Conversion period
``` ```
node ./scripts/frontend/prettier.js check ./vendor/ node ./scripts/frontend/prettier.js check-all ./vendor/
``` ```
This will go over all files in a specific folder check it. This will go over all files in a specific folder check it.
``` ```
node ./scripts/frontend/prettier.js save ./vendor/ node ./scripts/frontend/prettier.js save-all ./vendor/
``` ```
This will go over all files in a specific folder and save it. This will go over all files in a specific folder and save it.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment