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…
ESLint for Frontend Assets in .NET Repositories
Use ESLint in .NET repositories that ship JavaScript, TypeScript, React, or other Node-based frontend assets. Use when a repo needs a configurable CLI lint gate for frontend correctness, import hygiene, unsafe patterns, or framework-specific rules.
Trigger On
- the repo has
package.json,eslint.config.*,.eslintrc*,tsconfig.json, or JS/TS/React frontend files - the user asks for JavaScript or TypeScript linting, React rule enforcement, import hygiene, or unsafe frontend patterns
- CI should fail on frontend lint findings instead of relying on editor-only feedback
Workflow
- Detect ownership first:
- existing ESLint config - package manager and workspace layout - framework packages such as React, Next.js, Vue, or plain TypeScript
- Keep ESLint as the semantic lint owner for JS and TS files when the repo needs rich plugin ecosystems or framework-specific rules.
- Prefer checked-in local devDependencies over global installs so CI and local runs match.
- Add narrow scripts to
package.json, for example:
- lint: eslint . - lint:fix: eslint . --fix
- Scope auto-fix runs before broad rewrites:
- fix a bounded folder or glob first - rerun the linter - rerun the frontend build or tests if the repo has them
- If the repo wants type-aware rules, verify the target files are covered by the intended
tsconfig.jsonbefore enabling heavier rules. - Do not hide noise by mass-disabling rules. Fix code, narrow scope, or phase severity deliberately.
Deliver
- explicit ESLint ownership for JS or TS frontend assets
- checked-in commands for
lintandlint:fix - config decisions that match the repo's real frontend stack
Validate
- ESLint is running from repo-local dependencies
- rule ownership is not ambiguous versus Biome or other linters
- the chosen globs match the real frontend folders
- fixes were verified with the repo's normal frontend build or test pass when available
Related skills
Use HTMLHint in .NET repositories that ship static HTML output or standalone frontend templates.
Use SonarJS-derived rules in .NET repositories that ship JavaScript or TypeScript frontends and need deeper bug-risk, code-smell, or cognitive-complexity checks than a minimal…
Related agents
.NET Frontend
Frontend-focused orchestration agent for .NET repositories that ship browser-facing UI plus Node-based frontend assets.
Also works: dotnet agents install frontend