From 60a07ca38b31ee7cf7c1c5bc70890c55baee56d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Fri, 6 Oct 2023 10:46:38 +0200 Subject: [PATCH] fix: Fail when format or lint is incorrect (#4956) ## About the changes Format check was not throwing a failure when checking: https://github.com/Unleash/unleash/actions/runs/6419038883/job/17428046648#step:6:10 --- frontend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 8e088d93a4..bbfaf68564 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,9 +19,9 @@ "test:snapshot": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn test -u", "test:watch": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest watch", "lint": "biome lint src --apply", - "lint:check": "biome lint src", + "lint:check": "biome check src", "fmt": "biome format src --write", - "fmt:check": "biome format src", + "fmt:check": "biome check src", "ts:check": "tsc", "e2e": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all", "e2e:heroku": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='https://unleash.herokuapp.com' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",