From 0f8bb7e3515878bad3ecf8cd16be72caefe00124 Mon Sep 17 00:00:00 2001 From: Patrick Jungermann Date: Mon, 4 Apr 2022 19:47:05 +0200 Subject: [PATCH] ci(prettier): ignore `ADOPTERS.md` using `.prettierignore` Ignore `ADOPTERS.md` using `.prettierignore` instead of ignoring it at the GitHub action config. This will cause the same rules to be applied locally as these checks. Signed-off-by: Patrick Jungermann --- .github/workflows/ci.yml | 2 +- .prettierignore | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f0c6e7602..31705a146b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: continue-on-error: true - name: prettier - run: yarn prettier:check '!ADOPTERS.md' + run: yarn prettier:check - name: lock run: yarn lock:check diff --git a/.prettierignore b/.prettierignore index e60d54a466..393c35fdbe 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,3 +8,6 @@ api-report.md plugins/scaffolder-backend/sample-templates .vscode dist-types + +# reduce the barrier for adopters to add themselves +ADOPTERS.md