Use Biome in .NET repositories that ship Node-based frontend assets and want a fast combined formatter-linter-import organizer for JavaScript, TypeScript, CSS, JSON, GraphQL, or HTML. USE FOR: biome.json or @biomejs/biome setup; fast frontend formatting and linting; replacing overlapping frontend style tools deliberately. DO NOT USE FOR: ESLint-only plugin coverage; runtime site audits such as headers, accessibility, or browser behavior. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use Biome in .NET repositories that ship Node-based frontend assets and want a fast combined formatter-linter-import organizer for JavaScript, TypeScript, CSS, JSON, GraphQL, or HTML. USE FOR: biome.json or @biomejs/biome setup; fast frontend formatting and linting; replacing overlapping frontend style tools deliberately. DO NOT USE FOR: ESLint-only plugin coverage; runtime site audits such as headers, accessibility, or browser behavior. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
compatibility
Requires a .NET repository with frontend assets managed through Node or a standalone Biome binary workflow; keep ownership explicit versus ESLint, Stylelint, and webhint.
Biome for Frontend Assets in .NET Repositories
Trigger On
the repo has biome.json, @biomejs/biome, or the user asks for a faster all-in-one frontend formatter-linter stack
the repo wants one tool for formatting, linting, and import organization across JS, TS, CSS, JSON, GraphQL, or HTML
the team is comparing Biome against ESLint plus Prettier or wants to simplify the current stack
Do Not Use For
repos that rely on ESLint plugins or framework-specific rules Biome does not cover yet
runtime site audits such as headers, accessibility, and SEO; route that to webhint
cases where a dedicated CSS or HTML tool is still the deliberate owner and no migration is requested
Inputs
the nearest AGENTS.md
package.json
biome.json or biome.jsonc
current ownership across ESLint, Prettier, Stylelint, and import ordering
Workflow
Decide ownership first:
Biome as the main formatter and linter
Biome only for formatting
Biome in coexistence with ESLint for plugin gaps
Prefer a repo-local pinned install so CI and developer machines use the same version.
Generate biome.json only after confirming what the repo wants Biome to own.
Add repeatable scripts to package.json, for example:
biome check .
biome check . --write
Keep file ownership explicit:
Biome can own formatting, linting, and import sorting
webhint still owns site-runtime audits
ESLint may stay for plugin-heavy cases the repo intentionally keeps
Start migrations with check and bounded folders before flipping the whole repo to --write.
Re-run the frontend build and tests after broad formatting or lint-fix passes.
Current Upstream Notes
Biome CLI 2.5.5 fixes incomplete type-inference false positives and deadlocks, Astro/Svelte shorthand ARIA-role detection, unresolved package subpath imports, Vue argument-less v-bind, HTML embedded style/script removal, CSS comment/casing formatting, and shared-daemon disconnect behavior. It also adds noNegationInEqualityCheck and CSS @custom-media support.
Re-run the repo's existing biome check command after upgrading, especially when type-aware rules or --write are enabled. Remove suppressions only when the affected Astro/Svelte/Vue, HTML, CSS, resolver, or Promise-inference cases are covered by repository fixtures.
The watched Biome release is @biomejs/js-api@6.0.0, not a core CLI-only release. It adds spanInBytesToSpanInCodeUnits for converting Biome UTF-8 byte spans to JavaScript UTF-16 code unit spans.
Use that helper when custom JavaScript tooling slices source text from Biome diagnostics, especially with non-ASCII content. Normal .NET repos that only run the Biome CLI usually need no config change for this release.
Recent Biome changes also continue expanding CSS/SCSS, HTML accessibility, import sorting, watch mode, and upgrade-command surfaces; verify actual CLI ownership before replacing ESLint or Stylelint.