Skip to content

Commit

Permalink
feat: add eslint-plugin-sonarjs (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
capitnflam authored Mar 16, 2024
1 parent ad9f1b3 commit 5bca4e1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-xss": "0.1.12"
},
Expand Down
1 change: 1 addition & 0 deletions src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const recommended: ESLintConfig = {
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:unicorn/recommended',
'plugin:sonarjs/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
Expand Down

0 comments on commit 5bca4e1

Please sign in to comment.