summaryrefslogtreecommitdiff
path: root/doc/development/new_fe_guide/style
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-07-12 08:15:38 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-12 08:15:38 +0000
commit143872fa52dfc37396e2ede946f1fe7fa9a8d20c (patch)
tree792eae236b701e2ab5f8ed5ffb10dd9630b4414a /doc/development/new_fe_guide/style
parent2b4521c1657bf5623617c16d07a682a28dcb3bb4 (diff)
downloadgitlab-ce-143872fa52dfc37396e2ede946f1fe7fa9a8d20c.tar.gz
Remove trailing whitespace in docs
Remove unneeded trailing whitespace in lines in /development /ci /api and /administration docs.
Diffstat (limited to 'doc/development/new_fe_guide/style')
-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.
```