Skip to main content

setup-biome

Install Biome linter with Ultracite preset, create biome.jsonc config, and configure Claude Code Stop hook for auto-fix before finishing. Use when setting up linting, formatting, Biome, Ultracite, or code quality enforcement.

ソース情報

リポジトリ
redpanda-data/ui-harness
ソースの最終更新活動
2026年5月8日 11:21
検出された SKILL.md の言語
英語
スター
34
フォーク
4

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
4 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
setup-biome
description
Install Biome linter with Ultracite preset, create biome.jsonc config, and configure Claude Code Stop hook for auto-fix before finishing. Use when setting up linting, formatting, Biome, Ultracite, or code quality enforcement.
# Setup Biome + Ultracite - **Biome** linter/formatter + **Ultracite** opinionated preset - Stop hook auto-fix lint/format on changed JS/TS files (skip `noUnusedImports`, avoid deletion loops) - Strict: `noConsole`, cognitive complexity 15, `noDeprecatedImports`, restricted imports (moment/lodash/classnames/mobx/yup) ## Steps ### 1. Install ```bash bun add -D @biomejs/biome ultracite --yarn ``` ### 2. Create `biome.jsonc` From [REFERENCE.md](REFERENCE.md). Extend `ultracite/biome/core` + `ultracite/biome/react`. VCS git on. Test files re-enable `noExplicitAny`. ### 3. Package.json scripts ```json { "scripts": { "lint": "biome check .", "lint:fix": "biome check --write .", "lint:file": "biome check", "lint:fix:file": "biome check --write" } } ``` ### 4. Hook Copy `scripts/biome-autofix.sh` -> `.claude/hooks/`. `chmod +x`. Add to Stop. ### 5. Verify - [ ] `bun run lint` + `bun run lint:fix` work - [ ] Hook executable + configured
GitHubで見る