{"slug": "ultracite-linter-and-formatter-for-agentic-development", "title": "Ultracite: Linter and Formatter for Agentic Development", "summary": "Ultracite released version 8.3.1, a zero-config linter and formatter preset for JavaScript/TypeScript that checks agent-written code against hundreds of strict rules in about a third of a second. Ultracite's init command writes its rules into AGENTS.md, which the project says 39 of 40 coding agents read, and its hooks run `ultracite fix --hook` after every Write or Edit in tools including Claude Code, Codex, Cursor, GitHub Copilot and Grok Build, handing unfixable issues back to the agent. The preset targets common model failure modes such as `any` types, stale effect dependencies and missing alt text, aiming to keep agent output consistent and type-safe before it reaches review.", "body_md": "[v8.3.1Read the latest release notes](https://www.ultracite.ai/changelog/ultracite-8-3-1)\n\n# The linter and formatter for agentic development\n\nAgents write most of the code now. Ultracite checks every edit they make against hundreds of strict rules in under half a second, so what reaches review is consistent, type-safe code instead of slop.\n\nZero-config forOxlintBiomeESLint\n\n## Used by engineering teams at\n\n[…and thousands of open source projects →](https://github.com/haydenbleasel/ultracite/network/dependents)\n\n## Strict enough to catch what agents get wrong\n\nModels write confident code with loose types, stale effect dependencies and missing alt text. Ultracite turns on hundreds of rules across type safety, React, accessibility and async code, so those patterns fail the check instead of reaching your review queue.\n\n`import { useEffect, useState } from \"react\";`` export function UserList({ teamId }: { teamId: string }) {`func-style `const [users, setUsers] = useState<any[]>([]);` no-explicit-any  `useEffect(() => {` ``fetch(`/api/teams/${teamId}/users`)`` catch-or-return · exhaustive-deps      `.then((res) => res.json())`      `.then((data) => setUsers(data));`  `}, []);` exhaustive-effect-dependencies `return (`    `<ul>`      `{users.map((user) => (`        `<li key={user.id}>`          `<img src={user.avatar} />` jsx-a11y/alt-text          `{user.role == \"admin\" ? \"Admin\" : user.role == \"owner\" ? \"Owner\" : \"Member\"}`no-nested-ternary · eqeqeq ×2        `</li>`      `))}`    `</ul>`  `);``}`\n- Type safety\n- no-explicit-anyno-non-null-assertionno-floating-promises\n- React and hooks\n- exhaustive-depsjsx-keybutton-has-type\n- Accessibility\n- alt-textanchor-is-validaria-role\n- Async and correctness\n- eqeqeqrequire-awaitno-await-in-loop\n- Anti-slopOpt-in\n- [Dillon Mulroy’s rules](https://www.ultracite.ai/docs/presets#anti-slop-rules) against unjustified type assertions,`unknown` leaking through signatures and other escape hatches.\n\n## Fast enough to run after every edit\n\nAgents check their work after nearly every change. Ultracite answers in about a third of a second, so the check never becomes the slow part of the loop.\n\n## Wired into the agent loop, start to finish\n\nYour agent learns the standard before it writes, gets checked after every edit, and takes over whatever autofix can’t settle. Nothing waits for CI.\n\n1. $ npx skills add haydenbleasel/ultracite skills/ultracite/SKILL.md description: Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when setting up Ultracite, running check, fix or doctor, writing code that follows its standards, or troubleshooting. 1 · Setup ### Let your agent install itAdd the Ultracite skill and ask for it. Your agent learns how to run `init` ,`check` ,`fix` and`doctor` , and how to troubleshoot the result.\n2. # Ultracite Code Standards - Prefer `unknown` over `any` when the type is genuinely unknown - Call hooks at the top level only, never conditionally - Provide meaningful alt text for images \n  - 40 agents\n 2 · Before it writes ### The standard, in your agent’s context`init` writes the rules into AGENTS.md, which 39 of them read, so generated code starts close to passing.\n3. .claude/settings.json \n\n```\n{\n  \"hooks\": {\n    \"PostToolUse\": [\n      {\n        \"hooks\": [{ \"command\": \"bunx ultracite fix --hook\", \"type\": \"command\" }],\n        \"matcher\": \"Write|Edit\"\n      }\n    ]\n  }\n}\n```\n\n 3 · After every edit ### Hooks that check each file it touchesA hook fixes every file your agent edits in Cursor, Devin Desktop, CodeBuddy, Claude Code, Codex, Deep Agents, GitHub Copilot, and Grok Build. In Claude Code, CodeBuddy, Codex, Devin Desktop, Deep Agents, Grok Build and VS Code’s Local agent, it hands what it can’t fix back to the agent.\n4. \n\n``` bash\n$ npx ultracite fix --codex\n┌  ultracite fix — powered by Codex\n◇  Autofix complete. 9 issues in 3 files left for Codex.\n✓ src/queue.ts:2:22  no-async-promise-executor\n✓ src/queue.ts:23:26  require-await\n⠋ src/config-loader.ts:3:10  no-eval\n⠋ src/config-loader.ts:10:22  eqeqeq\n```\n\n 4 · When autofix can’t ### Your agent CLI fixes the rest`ultracite fix --claude` or`--codex` sends what’s left to Claude Code or Codex, which repairs the codebase file by file with edit-only permissions.\n\n## One command, your choice of engine\n\n`ultracite init` detects your stack, writes the config for the engine you pick, and sets up your editor, agents and git hooks. Every rule stays yours to override.\n\n``` python\nimport { defineConfig } from \"oxlint\";\nimport core from \"ultracite/oxlint/core\";\nimport react from \"ultracite/oxlint/react\";\nimport next from \"ultracite/oxlint/next\";\n\nexport default defineConfig({\n  env: core.env,\n  extends: [core, react, next],\n  ignorePatterns: core.ignorePatterns,\n});\npython\nimport { defineConfig } from \"oxfmt\";\nimport ultracite from \"ultracite/oxfmt\";\n\nexport default defineConfig({\n  ...ultracite,\n});\n{\n  \"$schema\": \"./node_modules/@biomejs/biome/configuration_schema.json\",\n  \"extends\": [\n    \"ultracite/biome/core\",\n    \"ultracite/biome/react\",\n    \"ultracite/biome/next\"\n  ]\n}\npython\nimport core from \"ultracite/eslint/core\";\nimport react from \"ultracite/eslint/react\";\nimport next from \"ultracite/eslint/next\";\n\nexport default [\n  ...core,\n  ...react,\n  ...next,\n];\npython\nimport config from \"ultracite/prettier\";\n\nexport default {\n  ...config,\n  plugins: [\"prettier-plugin-tailwindcss\"],\n};\npython\nimport config from \"ultracite/stylelint\";\n\nexport default { ...config };\n```\n\n18 framework presets\n\n- React\n- Next.js\n- Solid\n- Vue\n- Svelte\n- Qwik\n- Remix\n- TanStack\n- Angular\n- Astro\n- NestJS\n- Jest\n- Vitest\n- Cypress\n- Storybook\n- Playwright\n- React Native\n- Drizzle\n\nPre-commit, your way\n\nHusky · Lefthook · lint-staged · pre-commit\n\n## Set the bar on day one\n\n## Ship less slop\n\nOne command sets up your linter, formatter, editor and agents. Works with Oxlint, Biome and ESLint.", "url": "https://wpnews.pro/news/ultracite-linter-and-formatter-for-agentic-development", "canonical_source": "https://www.ultracite.ai/", "published_at": "2026-11-24 16:35:02+00:00", "updated_at": "2026-11-24 16:42:08.216610+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["Ultracite", "Hayden Bleasel", "Oxlint", "Biome", "ESLint", "Claude Code", "Codex", "GitHub Copilot"], "also_reported_by": [], "takeaway": "Ultracite 8.3.1 ships a zero-config lint/format preset that runs in roughly 0.3 seconds and can be wired into agent hooks via `ultracite fix --hook` on Write/Edit, with `init` writing its rules into AGENTS.md so generated code starts closer to passing.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/ultracite-linter-and-formatter-for-agentic-development", "markdown": "https://wpnews.pro/news/ultracite-linter-and-formatter-for-agentic-development.md", "text": "https://wpnews.pro/news/ultracite-linter-and-formatter-for-agentic-development.txt", "jsonld": "https://wpnews.pro/news/ultracite-linter-and-formatter-for-agentic-development.jsonld"}}