npm install --save-dev --save-exact @biomejs/biome
// 設定ファイルの初期化
npx @biomejs/biome init --jsonc
npx @biomejs/biome format
npx @biomejs/biome lint
両方を実行します。
npx @biomejs/biome check
https://biomejs.dev/ja/linter/rules/no-restricted-imports/
npm i -D oxlint
npx oxlint
oxfmt
npm i -D oxfmt
// 設定ファイルの作成
code .oxfmtrc.jsonc
.oxfmtrc.jsonc
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"printWidth": 80
}
npx oxfmt --check