Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

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

Ashwin Bhatkalc23a53c8d2c4
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 48fe5dfb6f..179ce0cc2f 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -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": []
}
-
diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.json
index 2faf724ac9..d5b1b6c7ac 100644
--- a/frontend/.oxlintrc.json
+++ b/frontend/.oxlintrc.json
@@ -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
diff --git a/frontend/package.json b/frontend/package.json
index 004101dfd9..dc5a50df40 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -241,7 +241,7 @@
"lint-staged": {
"*.(js|jsx|ts|tsx)": [
"oxfmt --check",
- "oxlint --fix",
+ "oxlint --quiet",
"sh scripts/typecheck-staged.sh"
]
},