From 315237c62d0bffdf7098cfb0835b1f98e52730e0 Mon Sep 17 00:00:00 2001 From: ebronson68 <111298136+ebronson68@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:29:33 -0600 Subject: [PATCH 1/2] use config files when running prettier --- .github/workflows/simple-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/simple-lint.yaml b/.github/workflows/simple-lint.yaml index 1456d29d..b3704602 100644 --- a/.github/workflows/simple-lint.yaml +++ b/.github/workflows/simple-lint.yaml @@ -32,7 +32,7 @@ jobs: - uses: creyD/prettier_action@v4.3 with: - prettier_options: --write . + prettier_options: --write . --config ./.prettierrc --config ./.prettierrc.json prettier_plugins: ${{ inputs.prettierPlugins }} commit_message: Apply prettier changes github_token: ${{ secrets.PAT_ACTION_CI }} From 1afaedebb208683d5a0ca54b39fc7395982db9be Mon Sep 17 00:00:00 2001 From: ebronson68 <111298136+ebronson68@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:14:11 -0600 Subject: [PATCH 2/2] Fix prettierrc extension --- .github/workflows/simple-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/simple-lint.yaml b/.github/workflows/simple-lint.yaml index b3704602..c7030ff4 100644 --- a/.github/workflows/simple-lint.yaml +++ b/.github/workflows/simple-lint.yaml @@ -32,7 +32,7 @@ jobs: - uses: creyD/prettier_action@v4.3 with: - prettier_options: --write . --config ./.prettierrc --config ./.prettierrc.json + prettier_options: --write . --config ./.prettierrc.js --config ./.prettierrc.json prettier_plugins: ${{ inputs.prettierPlugins }} commit_message: Apply prettier changes github_token: ${{ secrets.PAT_ACTION_CI }}