chore: lint rules for scripts

This commit is contained in:
2026-09-26 16:46:52 +05:00
parent bd941d5ac5
commit 67fdef4363
4 changed files with 50 additions and 5 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
// (adapter-static): /foo -> foo.html | foo/index.html, MIME по расширению.
// Запуск: pnpm build && node scripts/serve-static.mjs --port 4173
import { createServer } from "node:http";
import { readFileSync, existsSync, statSync } from "node:fs";
import { extname, join, resolve } from "node:path";
import { readFileSync, statSync } from "node:fs";
import { extname, join } from "node:path";
import { fileURLToPath } from "node:url";
const portIndex = process.argv.indexOf("--port");