fix format/lint command
This commit is contained in:
parent
19e5d28cf7
commit
b121e4bc9d
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue