Skip to content

Commit 5bca4e1

Browse files
authored
feat: add eslint-plugin-sonarjs (#15)
1 parent ad9f1b3 commit 5bca4e1

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

package-lock.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"eslint-plugin-no-unsanitized": "4.0.2",
2424
"eslint-plugin-react": "7.34.1",
2525
"eslint-plugin-react-hooks": "4.6.0",
26+
"eslint-plugin-sonarjs": "0.24.0",
2627
"eslint-plugin-unicorn": "51.0.1",
2728
"eslint-plugin-xss": "0.1.12"
2829
},

src/configs/recommended.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const recommended: ESLintConfig = {
99
'plugin:import/recommended',
1010
'plugin:import/typescript',
1111
'plugin:unicorn/recommended',
12+
'plugin:sonarjs/recommended',
1213
'prettier',
1314
],
1415
parser: '@typescript-eslint/parser',

0 commit comments

Comments
 (0)