From b121e4bc9dd3da51bf6581f6d81059cfa0127fd7 Mon Sep 17 00:00:00 2001 From: naskya Date: Tue, 3 Oct 2023 01:32:36 +0900 Subject: [PATCH] fix format/lint command --- packages/backend/native-utils/package.json | 4 ++-- packages/firefish-js/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/native-utils/package.json b/packages/backend/native-utils/package.json index 180c24cbe..c0c09e21c 100644 --- a/packages/backend/native-utils/package.json +++ b/packages/backend/native-utils/package.json @@ -42,8 +42,8 @@ "test": "pnpm run cargo:test && pnpm run build:napi && ava", "universal": "napi universal", "version": "napi version", - "format": "cargo fmt --all -- --check", - "lint": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all -- --check", + "format": "cargo fmt --all --", + "lint": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all --", "cargo:test": "pnpm run cargo:unit && pnpm run cargo:integration", "cargo:unit": "cargo test unit_test && cargo test -F napi unit_test", "cargo:integration": "cargo test -F noarray int_test -- --test-threads=1" diff --git a/packages/firefish-js/package.json b/packages/firefish-js/package.json index 7a180f84b..f92153153 100644 --- a/packages/firefish-js/package.json +++ b/packages/firefish-js/package.json @@ -12,8 +12,8 @@ "api": "pnpm api-extractor run --local --verbose", "api-prod": "pnpm api-extractor run --verbose", "api-doc": "pnpm api-documenter markdown -i ./etc/", - "lint": "pnpm biome check --apply *.ts", - "format": "pnpm biome format --write *.ts", + "lint": "pnpm biome check --apply **/*.ts", + "format": "pnpm biome format --write **/*.ts", "jest": "jest --coverage --detectOpenHandles", "test": "pnpm jest && pnpm tsd" },