フロントエンド開発といえば。
react アプリの初期化( pnpm create vite@latest または npm init vite@latest <アプリ名> )

biome

● biome

npm install --save-dev --save-exact @biomejs/biome
// 設定ファイルの初期化
npx @biomejs/biome init --jsonc 

・biomeでソースコードの整形 = prettier

npx @biomejs/biome format

・biomeでlint

npx @biomejs/biome lint

・biomeで lint+prettier

両方を実行します。

npx @biomejs/biome check

・Biomeでno-restricted-importsを実現する方法

https://biomejs.dev/ja/linter/rules/no-restricted-imports/

No.2702
05/15 08:52

edit