summaryrefslogtreecommitdiff
path: root/doc/development/new_fe_guide
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-07-12 08:55:48 +0900
committerMarcel Amirault <mamirault@gitlab.com>2019-07-12 08:55:48 +0900
commit498bd5de6ea8b1c885a3b83f40048f13f53ad920 (patch)
treefda7afcc3fb913dea48618dd875e8102702e7395 /doc/development/new_fe_guide
parent2dcdc148c845d47743e4af728fbcb791f34649e8 (diff)
downloadgitlab-ce-docs-trailing-spaces.tar.gz
Remove trailing whitespace in docsdocs-trailing-spaces
Remove unneeded trailing whitespace in lines in /development /ci /api and /administration docs.
Diffstat (limited to 'doc/development/new_fe_guide')
-rw-r--r--doc/development/new_fe_guide/style/prettier.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/development/new_fe_guide/style/prettier.md b/doc/development/new_fe_guide/style/prettier.md
index 4495f38f262..5f44c640d76 100644
--- a/doc/development/new_fe_guide/style/prettier.md
+++ b/doc/development/new_fe_guide/style/prettier.md
@@ -4,7 +4,7 @@ Our code is automatically formatted with [Prettier](https://prettier.io) to foll
## Editor
-The easiest way to include prettier in your workflow is by setting up your preferred editor (all major editors are supported) accordingly. We suggest setting up prettier to run automatically when each file is saved. Find [here](https://prettier.io/docs/en/editors.html) the best way to set it up in your preferred editor.
+The easiest way to include prettier in your workflow is by setting up your preferred editor (all major editors are supported) accordingly. We suggest setting up prettier to run automatically when each file is saved. Find [here](https://prettier.io/docs/en/editors.html) the best way to set it up in your preferred editor.
Please take care that you only let Prettier format the same file types as the global Yarn script does (.js, .vue, and .scss). In VSCode by example you can easily exclude file formats in your settings file:
@@ -28,6 +28,7 @@ Updates all currently staged files (based on `git diff`) with Prettier and saves
```
yarn prettier-staged
```
+
Checks all currently staged files (based on `git diff`) with Prettier and log which files would need manual updating to the console.
```