feat: 添加oxfmt、oxlint格式化

This commit is contained in:
2026-06-01 10:22:41 +08:00
parent 25573d2f68
commit 9b5879c658
14 changed files with 738 additions and 10 deletions

28
oxfmt.config.ts Normal file
View File

@@ -0,0 +1,28 @@
import { defineConfig } from "oxfmt";
export default defineConfig({
trailingComma: "none",
ignorePatterns: [
"dist",
"dev-dist",
".local",
".claude",
".agent",
".agents",
".codex",
".output.js",
"node_modules",
".nvmrc",
"coverage",
"CODEOWNERS",
".nitro",
".output",
"**/*.svg",
"**/*.sh",
"public",
".npmrc",
"*-lock.yaml",
"skills-lock.json",
"*.md"
]
});