From 9d9d142e390106b61213d79c8a61a1eac9936b15 Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Wed, 20 Sep 2023 23:36:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20chore(ci):=20Use=20`biome=20chec?= =?UTF-8?q?k`=20instead=20of=20`biome=20format`=20(#887)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ce9881432..a2b195c47 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,5 +30,5 @@ jobs: run: pnpm run lint:check - name: Check order in package.json - if: success() || failure() # Run even if linting fails + if: success() || failure() # Run even if the previous step fails run: pnpm run sort-package-json:check diff --git a/package.json b/package.json index 8b48d693a..d49d23b2f 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "scripts": { "build": "turbo build", "preinstall": "npx only-allow pnpm", - "lint": "biome format . --write", + "lint": "biome check . --apply", "lint:check": "biome check .", + "lint:unsafe": "biome check . --apply-unsafe", "prepare": "husky install", "sort-package-json": "sort-package-json 'package.json' 'packages/*/package.json' 'examples/*/package.json'", "sort-package-json:check": "sort-package-json 'package.json' 'packages/*/package.json' 'examples/*/package.json' --check"