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
parent a554fad232
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

@ -344,7 +344,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
return
}
setStore("sessionView", sessionKey, "scroll", (prev) => ({ ...(prev ?? {}), ...next }))
setStore("sessionView", sessionKey, "scroll", (prev) => ({ ...prev, ...next }))
prune(keep)
},
})
@ -399,7 +399,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
local?.icon?.color !== undefined
const base = {
...(metadata ?? {}),
...metadata,
...project,
icon: {
url: metadata?.icon?.url,