[dx] use Biome instead of Prettier, part 1 (#2729)

Biome seems to be MUCH faster than Prettier. Unfortunately, it
introduces some formatting changes around the ternary operator, so we
have to update files in the repo. To make revert easier if we need it,
the change is split into two PRs. This PR has only config/package
changes and is expected to fail the CI.

## Change Type
- [x] `minor` — New feature
This commit is contained in:
Dan Groshev 2024-02-05 17:41:42 +00:00 committed by GitHub
parent b379a7a47c
commit 826433751c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 227 additions and 244 deletions

View file

@ -34,7 +34,6 @@
"test-dev": "yarn run -T jest --watch",
"test-coverage": "lazy inherit",
"index": "node ./scripts/build-index.js && yarn format",
"format": "yarn run -T prettier --write --cache \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"build": "yarn run -T tsx ../../scripts/build-package.ts",
"build-api": "yarn run -T tsx ../../scripts/build-api.ts",
"prepack": "yarn run -T tsx ../../scripts/prepack.ts",