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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
feat(eslint): sonar js plugin for eslint is added
Palash guptaf3b2f30c8280
diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.jsindex 0d1557ef7c..a8bba218a5 100644--- a/frontend/.eslintrc.js+++ b/frontend/.eslintrc.js@@ -10,6 +10,7 @@ module.exports = {'plugin:@typescript-eslint/recommended','plugin:@typescript-eslint/eslint-recommended','plugin:prettier/recommended',+ 'plugin:sonarjs/recommended',],parser: '@typescript-eslint/parser',parserOptions: {@@ -42,7 +43,10 @@ module.exports = {'@typescript-eslint/explicit-function-return-type': 'error','@typescript-eslint/no-var-requires': 0,'react/no-array-index-key': 2,- 'linebreak-style': ['error', process.platform === 'win32' ? 'windows' : 'unix'],+ 'linebreak-style': [+ 'error',+ process.platform === 'win32' ? 'windows' : 'unix',+ ],// simple sort error'simple-import-sort/imports': 'error',diff --git a/frontend/package.json b/frontend/package.jsonindex 576a5260f7..61d2abee3a 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -133,6 +133,7 @@"eslint-plugin-promise": "^5.1.0","eslint-plugin-react": "^7.24.0","eslint-plugin-simple-import-sort": "^7.0.0",+ "eslint-plugin-sonarjs": "^0.12.0","husky": "4.3.8","less-plugin-npm-import": "^2.1.0","lint-staged": "10.5.3",diff --git a/frontend/yarn.lock b/frontend/yarn.lockindex dd0fab967c..b29b9cf483 100644--- a/frontend/yarn.lock+++ b/frontend/yarn.lock@@ -5863,6 +5863,11 @@ eslint-plugin-simple-import-sort@^7.0.0:resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-7.0.0.tgz#a1dad262f46d2184a90095a60c66fef74727f0f8"integrity sha512-U3vEDB5zhYPNfxT5TYR7u01dboFZp+HNpnGhkDB2g/2E4wZ/g1Q9Ton8UwCLfRV9yAKyYqDh62oHOamvkFxsvw==+eslint-plugin-sonarjs@^0.12.0:+ version "0.12.0"+ resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.12.0.tgz#03a160a58f179fde084135baec08656b59786b8c"+ integrity sha512-soxjK67hoYxO8hesKqXWN50GSM+oG2r35N5WnAMehetahO6zoVpv3HZbdziP0jYWNopEe6te/BFUZOYAZI+qhg==+[email protected], eslint-scope@^5.1.1:version "5.1.1"resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"