summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-06-15 16:10:58 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-06-15 16:10:58 +0000
commit953608acb76a08285e5f7ad4c9321437a53b51fc (patch)
tree4085b52023c65385bc87ace8af1504eb13fa5aed /doc
parent5297e94d3988859a0549efead33d6fab906cceca (diff)
parente04dfff85805f9282b8edbb25e6f61c8dbee8366 (diff)
downloadgitlab-ce-953608acb76a08285e5f7ad4c9321437a53b51fc.tar.gz
Merge branch '44771-prettier-seems-to-ignore-the-overrides-2' into 'master'
Resolve "Prettier seems to ignore the `overrides`" Closes #44771 See merge request gitlab-org/gitlab-ce!19153
Diffstat (limited to 'doc')
-rw-r--r--doc/development/new_fe_guide/style/prettier.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/development/new_fe_guide/style/prettier.md b/doc/development/new_fe_guide/style/prettier.md
index eb18189282b..6395af6f815 100644
--- a/doc/development/new_fe_guide/style/prettier.md
+++ b/doc/development/new_fe_guide/style/prettier.md
@@ -43,3 +43,17 @@ yarn prettier-all-save
Formats all files in the repository with Prettier. (This should only be used to test global rule updates otherwise you would end up with huge MR's).
The source of these Yarn scripts can be found in `/scripts/frontend/prettier.js`.
+
+### Scripts during Conversion period
+
+```
+node ./scripts/frontend/prettier.js check ./vendor/
+```
+
+This will go over all files in a specific folder check it.
+
+```
+node ./scripts/frontend/prettier.js save ./vendor/
+```
+
+This will go over all files in a specific folder and save it.