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

@ -1,5 +1,9 @@
import { stylesheet } from "typestyle";
import { type Component, createElement } from "websnacks";
import {
type Component,
// biome-ignore lint/correctness/noUnusedImports: required to support JSX
createElement,
} from "websnacks";
const styles = stylesheet({
header: {

View file

@ -1,6 +1,10 @@
import { normalize } from "csstips";
import { stylesheet } from "typestyle";
import { type Component, createElement } from "websnacks";
import {
type Component,
// biome-ignore lint/correctness/noUnusedImports: required to support JSX
createElement,
} from "websnacks";
import { stylesheetPath } from "../config";
import { Header } from "./header";

View file

@ -1,5 +1,9 @@
import { stylesheet } from "typestyle";
import { type Component, createElement } from "websnacks";
import {
type Component,
// biome-ignore lint/correctness/noUnusedImports: required to support JSX
createElement,
} from "websnacks";
const styles = stylesheet({
navbar: {

View file

@ -20,7 +20,7 @@
"websnacks": "bin/websnacks.js"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "2.4.14",
"@types/node": "~18",
"@types/ws": "^7.4.0",
"ts-node": "^10.9.2",

View file

@ -1,4 +1,8 @@
import { type Component, createElement } from "websnacks";
import {
type Component,
// biome-ignore lint/correctness/noUnusedImports: required to support JSX
createElement,
} from "websnacks";
import { Layout } from "../components/layout";

View file

@ -1,5 +1,9 @@
import { stylesheet } from "typestyle";
import { type Component, createElement } from "websnacks";
import {
type Component,
// biome-ignore lint/correctness/noUnusedImports: required to support JSX
createElement,
} from "websnacks";
import { Layout } from "../components/layout";

View file

@ -4,7 +4,7 @@ import type { Config } from "websnacks";
import { stylesheetPath } from "./config";
const config: Config = {
const _config: Config = {
// Watch additional files and folders for changes when the dev server is
// running.
watch: ["components/", "config.ts"],