chore: disable oxc typeAware and add --threads option for oxlint

Type-aware linting was consuming excessive memory with nearly all
type-aware rules turned off. Add --threads CLI option to control
oxlint parallelism.
This commit is contained in:
xingyu4j
2026-05-18 18:46:13 +08:00
parent 5c8dd1a6da
commit 7c943cc06b
2 changed files with 10 additions and 4 deletions

View File

@@ -38,7 +38,7 @@
// lint && format
"oxc.enable": true,
"oxc.typeAware": true,
"oxc.typeAware": false,
"oxc.configPath": "oxlint.config.ts",
"oxc.fmt.configPath": "oxfmt.config.ts",
"eslint.useFlatConfig": true,