🎨 replace prettier with oxfmt

This commit is contained in:
StarHeartHunt
2026-07-25 15:24:32 +08:00
parent 5edf14b724
commit 2d06fdcf8f
33 changed files with 549 additions and 108 deletions
+36
View File
@@ -0,0 +1,36 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"arrowParens": "always",
"ignorePatterns": [
"node_modules",
".yarn",
".history",
"coverage",
"**/build/**",
"**/dist/**",
".docusaurus",
"*.svg",
"pnpm-lock.yaml",
"CITATION.cff",
"/*.md",
"*.yml",
"*.yaml",
".github/",
"assets/",
"nonebot/",
"packages/nonebot-plugin-docs/",
"scripts/",
"tests/",
"pyproject.toml",
"uv.lock",
"website/versions.json",
"website/versioned_docs/",
"website/versioned_sidebars/*.json",
"website/docs/tutorial/application.mdx"
],
"insertFinalNewline": true,
"printWidth": 80,
"singleQuote": false,
"sortPackageJson": false,
"trailingComma": "all"
}