Skip to content

Commit

Permalink
feat(deps): update dependency eslint-plugin-sonarjs to v2 (#200)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency eslint-plugin-sonarjs to v2

* fix: sonarjs configuration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jens Simon <[email protected]>
  • Loading branch information
renovate[bot] and jenssimon authored Nov 29, 2024
1 parent 9907c3f commit aa8fdd3
Show file tree
Hide file tree
Showing 3 changed files with 2,277 additions and 73 deletions.
3 changes: 2 additions & 1 deletion lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ const config = ({
extends: [
'plugin:import-esm/recommended',
'plugin:eslint-comments/recommended',
'plugin:sonarjs/recommended',
'plugin:sonarjs/recommended-legacy',
'plugin:unicorn/recommended',
'plugin:promise/recommended',
...ext || [],
],
plugins: [
'promise',
'import',
'sonarjs',
'optimize-regex',
...plugins || [],
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-redux": "^4.0.0",
"eslint-plugin-sonarjs": "^0.25.0",
"eslint-plugin-sonarjs": "^2.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-wc": "^2.0.4"
},
Expand Down
Loading

0 comments on commit aa8fdd3

Please sign in to comment.