mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 16:10:09 +00:00
feat: add oxfmt config migrated from prettier
Amp-Thread-ID: https://ampcode.com/threads/T-019bd8b7-cb79-767c-95d3-a7a8d87782c5 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
15
.oxfmtrc.json
Normal file
15
.oxfmtrc.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||
"singleQuote": true,
|
||||
"tabWidth": 2,
|
||||
"semi": false,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 80,
|
||||
"importOrder": ["^@core/(.*)$", "<THIRD_PARTY_MODULES>", "^@/(.*)$", "^[./]"],
|
||||
"importOrderSeparation": true,
|
||||
"importOrderSortSpecifiers": true,
|
||||
"ignorePatterns": [
|
||||
"packages/registry-types/src/comfyRegistryTypes.ts",
|
||||
"src/types/generatedManagerTypes.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user