chore: update biome to 2.4.14 & apply lint fixes
This commit is contained in:
parent
0e26241e4a
commit
f08a99ccb1
17 changed files with 491 additions and 461 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
2
examples/personal-site/package-lock.json
generated
2
examples/personal-site/package-lock.json
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue