ultracite@7.12.0
Minor Changes
- 1f427d7: Add an opt-in
ultracite/oxlint/shadcnpreset for@shadcn/lint, shadcn’s agent-first linter for Tailwind v4 design systems. All six rules (no-restyle,no-raw-colors,no-arbitrary-values,no-inline-styles,no-unknown-classes,require-static-classes) run aterrorwith the upstreamallow: ["layout"]policy, and the component-authoring rules are relaxed inside**/components/ui/**. Enable it withultracite init --linter oxlint --js-plugins @shadcn/lint, or extend it alongsideultracite/oxlint/coreafter installing@shadcn/lint.
Patch Changes
- 600e991: Accept file-based page route filenames in
github/filenames-match-regex. Files underpages/(Astro, Next.js pages router) now match a bracket-aware pattern, so dynamic, rest and optional parameters such as[slug].astro,[...slug].tsand[[...slug]].tsxpass while non-route names likeBadPage.tsare still rejected. - 66f97bb: Allow top-level
returnin Astro frontmatter. The core preset now turns offunicorn/prefer-modulefor**/*.astrofiles (the rule cannot be configured to allow onlyreturn), and keepsrequire(),module.exports,__dirnameand__filenameflagged there viaimport/no-commonjsandno-restricted-globals.