chore: update biome to 2.4.14 & apply lint fixes

This commit is contained in:
M. George Hansen 2026-05-03 09:37:53 -07:00
parent 0e26241e4a
commit f08a99ccb1
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
17 changed files with 491 additions and 461 deletions

View file

@ -7,10 +7,10 @@ import { promises as fs } from "node:fs";
import * as path from "node:path";
import {
WEBSNACKS_BIN_PATH,
WEBSNACKS_REPO_ROOT,
npmCmd,
runCommand,
WEBSNACKS_BIN_PATH,
WEBSNACKS_REPO_ROOT,
withTempDir,
} from "../helpers/e2e";
import { testSuite } from "../lib";

View file

@ -7,10 +7,10 @@ import { promises as fs } from "node:fs";
import * as path from "node:path";
import {
WEBSNACKS_BIN_PATH,
WEBSNACKS_REPO_ROOT,
npmCmd,
runCommand,
WEBSNACKS_BIN_PATH,
WEBSNACKS_REPO_ROOT,
wait,
withTempDir,
} from "../helpers/e2e";

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import { type Component, Fragment, createElement } from "../../dist";
import { type Component, createElement, Fragment } from "../../dist";
import { renderPage } from "../../dist/render";
import { testSuite } from "../lib";
@ -118,7 +118,6 @@ testSuite("renderPage", ({ test, expect }) => {
const html = renderPage(
<html>
<div
// biome-ignore lint/security/noDangerouslySetInnerHtml: explicit test
dangerouslySetInnerHTML={{
__html: "<div>red alert!</div>",
}}
@ -135,8 +134,6 @@ testSuite("renderPage", ({ test, expect }) => {
renderPage(
<html>
<div
// biome-ignore lint/security/noDangerouslySetInnerHtml: explicit test
// biome-ignore lint/security/noDangerouslySetInnerHtmlWithChildren: explicit test
dangerouslySetInnerHTML={{
__html: "<div>set phasers to kill</div>",
}}