From c509323f7dcc3a28b97c1c55176dc93226f2c915 Mon Sep 17 00:00:00 2001 From: peintnermax Date: Thu, 5 Sep 2024 16:19:34 +0200 Subject: [PATCH] reintroduce prettier --- .github/workflows/test.yml | 1 + package.json | 1 + packages/eslint-config-zitadel/package.json | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7015bb24988..91c78a4db2d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ jobs: fail-fast: false matrix: command: + - format --check - lint - test:unit - test:integration diff --git a/package.json b/package.json index a778ddfadba..766f321132f 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "lint": "turbo run lint", "lint:fix": "turbo run lint:fix", "clean": "turbo run clean && rm -rf node_modules", + "format": "prettier --check \"**/*.{ts,tsx,md}\"", "changeset": "changeset", "version-packages": "changeset version", "release": "turbo run build --filter=login^... && changeset publish" diff --git a/packages/eslint-config-zitadel/package.json b/packages/eslint-config-zitadel/package.json index 261744ce007..7a24f984948 100644 --- a/packages/eslint-config-zitadel/package.json +++ b/packages/eslint-config-zitadel/package.json @@ -6,6 +6,7 @@ "publishConfig": { "access": "public" }, + "type":"module", "dependencies": { "eslint-config-next": "^14.2.3", "@typescript-eslint/parser": "^7.9.0",