chore: ESLint Flat Config (#834)

* chore: eslint flat config

* chore: format

* update according to review

* chore: remove prettier config and format

* fix: move handler to script to bypass eslint

* chore: config eslint for lang=js block

* docs: add surrounding empty lines for code block

* chore: also minify css in csp build

* chore: publint
This commit is contained in:
Yue JIN
2025-05-26 11:11:23 +08:00
committed by Justineo
parent 077bd3ec40
commit 522dd7cc5c
50 changed files with 1020 additions and 1061 deletions

View File

@ -8,6 +8,6 @@ export function resolvePath(url, ...parts) {
export function getPackageMeta() {
return JSON.parse(
readFileSync(resolvePath(import.meta.url, "../package.json"), "utf8")
readFileSync(resolvePath(import.meta.url, "../package.json"), "utf8"),
);
}