From 16b9c9d3406e8db231c69844d21634c3f256d0bc Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Wed, 15 May 2024 21:58:41 -0300 Subject: [PATCH] add prettier check --- .github/workflows/lint.yml | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index af4cbae7..2612e737 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,3 +26,6 @@ jobs: - name: Lint run: yarn lint + + - name: Format check + run: yarn format-check diff --git a/package.json b/package.json index c0adccfb..31c75072 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "type": "module", "scripts": { "format": "prettier --write .", + "format-check": "prettier --check .", "lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix", "typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false", "typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",