Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/biome-no-unknown-attribute-react.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ultracite": patch
---

Move Biome's `noUnknownAttribute` rule out of the core preset and into the `react` preset. The rule only recognises React's JSX attribute names, so projects using Solid, Svelte, Vue, or Qwik were incorrectly flagged for framework-standard attributes such as `class`.
1 change: 0 additions & 1 deletion packages/cli/config/biome/core/biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@
"noThenProperty": "error",
"noTsIgnore": "error",
"noUnassignedVariables": "error",
"noUnknownAttribute": "error",
"noUnnecessaryConditions": "error",
"noUnsafeDeclarationMerging": "error",
"noUnsafeNegation": "error",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/config/biome/react/biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"noLeakedRender": "error",
"noReactForwardRef": "error",
"noSuspiciousSemicolonInJsx": "error",
"noUnknownAttribute": "error",

"noReactSpecificProps": "off"
},
Expand Down