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
57 changed files with 165 additions and 122 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ function escape(text: string) {
.replace(/&/g, "&")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/\"/g, "&quot;")
.replace(/"/g, "&quot;")
.replace(/'/g, "&#39;")
}
@@ -338,7 +338,7 @@ export function Markdown(
<div
data-component="markdown"
classList={{
...(local.classList ?? {}),
...local.classList,
[local.class ?? ""]: !!local.class,
}}
ref={setRoot}