fix: surface eslint diagnostics in vscode

This commit is contained in:
xingyu4j
2026-03-14 19:36:27 +08:00
parent 4d59ac78bd
commit 95d1e8432f
2 changed files with 3 additions and 14 deletions

View File

@@ -41,6 +41,7 @@
"oxc.typeAware": true,
"oxc.configPath": "oxlint.config.ts",
"oxc.fmt.configPath": "oxfmt.config.ts",
"eslint.useFlatConfig": true,
"editor.codeActionsOnSave": {
"source.fixAll.oxc": "explicit",
"source.fixAll.stylelint": "explicit",
@@ -170,7 +171,7 @@
"emmet.triggerExpansionOnTab": false,
"errorLens.enabledDiagnosticLevels": ["warning", "error"],
"errorLens.excludeBySource": ["cSpell", "Grammarly", "eslint"],
"errorLens.excludeBySource": ["cSpell", "Grammarly"],
"stylelint.enable": true,
"stylelint.packageManager": "pnpm",