From 1f01070d3a835d51c26dd2a33e23a1ce2f0b7f49 Mon Sep 17 00:00:00 2001 From: nickfrosty Date: Fri, 15 Dec 2023 14:29:55 -0500 Subject: [PATCH] refactor: prettier script --- .github/workflows/formatting.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 4ed49b6b5..3e46e87ee 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -23,7 +23,7 @@ jobs: - name: installing yarn run: yarn install - name: prettier:check - run: yarn prettier:check + run: yarn prettier stage: name: Test linting... needs: Format diff --git a/package.json b/package.json index 5913f5340..51301eaef 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "start": "next start", "test": "yarn contentlayer:build", "lint": "next lint", - "prettier:check": "prettier -c .", + "prettier": "prettier -c .", "prettier:fix": "prettier -cw ." }, "dependencies": {