fix: add config path and fmt config path in vs code settings (#11093)

* fix: add config path vs code settings

* fix: add fmt config path as well

* fix: quiet instead of fix
This commit is contained in:
Ashwin Bhatkal
2026-04-24 15:09:30 +00:00
committed by GitHub
parent dbfe47e757
commit c23a53c8d2
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -1,6 +1,8 @@
{
"oxc.typeAware": true,
"oxc.tsConfigPath": "./frontend/tsconfig.json",
"oxc.configPath": "./frontend/.oxlintrc.json",
"oxc.fmt.configPath": "./frontend/.oxfmtrc.json",
"editor.formatOnSave": true,
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.codeActionsOnSave": {
@@ -19,4 +21,3 @@
"python-envs.defaultEnvManager": "ms-python.python:system",
"python-envs.pythonProjects": []
}
+2 -2
View File
@@ -538,8 +538,8 @@
"sonarjs/no-nested-template-literals": "error",
// Avoids nested template literals
"sonarjs/no-redundant-boolean": "warn", // TODO: Change to error after migration
// Removes redundant boolean literals
"sonarjs/no-redundant-jump": "error",
// Removes redundant boolean literals - turned off because it clashes with unicorn rules
"sonarjs/no-redundant-jump": "off",
// Removes unnecessary returns/continues
"sonarjs/no-same-line-conditional": "error",
// Prevents same-line conditionals
+1 -1
View File
@@ -241,7 +241,7 @@
"lint-staged": {
"*.(js|jsx|ts|tsx)": [
"oxfmt --check",
"oxlint --fix",
"oxlint --quiet",
"sh scripts/typecheck-staged.sh"
]
},