feat: add oxlint with correctness defaults (#22682)

This commit is contained in:
Kit Langton 2026-04-15 20:45:19 -04:00 committed by GitHub
commit 3d6f90cb53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 165 additions and 122 deletions

View file

@ -27,7 +27,7 @@ function TabsRoot(props: TabsProps) {
data-variant={split.variant || "normal"}
data-orientation={split.orientation || "horizontal"}
classList={{
...(split.classList ?? {}),
...split.classList,
[split.class ?? ""]: !!split.class,
}}
/>
@ -41,7 +41,7 @@ function TabsList(props: TabsListProps) {
{...rest}
data-slot="tabs-list"
classList={{
...(split.classList ?? {}),
...split.classList,
[split.class ?? ""]: !!split.class,
}}
/>
@ -63,7 +63,7 @@ function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
data-slot="tabs-trigger-wrapper"
data-value={props.value}
classList={{
...(split.classList ?? {}),
...split.classList,
[split.class ?? ""]: !!split.class,
}}
onMouseDown={(e) => {
@ -104,7 +104,7 @@ function TabsContent(props: ParentProps<TabsContentProps>) {
{...rest}
data-slot="tabs-content"
classList={{
...(split.classList ?? {}),
...split.classList,
[split.class ?? ""]: !!split.class,
}}
>