From 66a25e3f221bbf946383cf2d9c36c1246cab4d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Fri, 25 Oct 2024 22:57:23 +0200 Subject: [PATCH] chore(ci): slightly improve Biome report style --- .github/workflows/static_analysis.yml | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index f438b78..30d4643 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -25,6 +25,6 @@ jobs: - name: Install npm development dependencies run: npm ci - name: Check format - run: npm run format + run: npm run format:ci - name: Run linter - run: npm run lint + run: npm run lint:ci diff --git a/package.json b/package.json index 742d008..d9a5fcb 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "scripts": { "build": "ncc build src/index.ts -o dist/main -m && ncc build src/cleanup_working_directory.ts -o dist/cleanup_working_directory -m", "check": "biome check --write --unsafe", - "format": "biome format --error-on-warnings", - "lint": "biome lint --error-on-warnings", + "format:ci": "biome ci --error-on-warnings --linter-enabled=false", + "lint:ci": "biome ci --error-on-warnings --formatter-enabled=false --organize-imports-enabled=false", "test": "npm run build && act --secret-file .act-secrets -W .github/workflows/test_empty_resource_pack.yml", "test:pack-in-submodule": "npm run build && act --secret-file .act-secrets -W .github/workflows/test_pack_in_submodule.yml", "test:pack-submodule": "npm run build && act --secret-file .act-secrets -W .github/workflows/test_pack_submodule.yml",