fix format/lint command

This commit is contained in:
naskya 2023-10-03 01:32:36 +09:00
parent 19e5d28cf7
commit b121e4bc9d
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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"
},