Skip to content

Commit

Permalink
build(deps-dev): bump eslint-plugin-sonarjs from 0.25.1 to 1.0.3 (#1060)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump eslint-plugin-sonarjs from 0.25.1 to 1.0.3

Bumps [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) from 0.25.1 to 1.0.3.
- [Release notes](https://github.com/SonarSource/eslint-plugin-sonarjs/releases)
- [Commits](SonarSource/eslint-plugin-sonarjs@0.25.1...1.0.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-sonarjs
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: update for eslint-plugin-sonarjs 1.0.3

Signed-off-by: Jeff MAURY <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jeff MAURY <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jeff MAURY <[email protected]>
  • Loading branch information
dependabot[bot] and jeffmaury authored Jun 21, 2024
1 parent ef9f1b5 commit 3b0fa8f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:etc/recommended",
"plugin:sonarjs/recommended"
"plugin:sonarjs/recommended-legacy"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-redundant-undefined": "^1.0.0",
"eslint-plugin-sonarjs": "^0.25.1",
"eslint-plugin-sonarjs": "^1.0.3",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.5",
"svelte-check": "^3.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/registries/TaskRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class TaskRegistry {
* @param taskIds The IDs of the tasks to delete.
*/
deleteAll(taskIds: string[]) {
taskIds.map(taskId => this.tasks.delete(taskId));
taskIds.forEach(taskId => this.tasks.delete(taskId));
this.notify();
}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2015,10 +2015,10 @@ eslint-plugin-redundant-undefined@^1.0.0:
dependencies:
"@typescript-eslint/utils" "^6.2.1"

eslint-plugin-sonarjs@^0.25.1:
version "0.25.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.25.1.tgz#0619798dbc27b04fd0a8e6d0fb6adf7fa2cb5041"
integrity sha512-5IOKvj/GMBNqjxBdItfotfRHo7w48496GOu1hxdeXuD0mB1JBlDCViiLHETDTfA8pDAVSBimBEQoetRXYceQEw==
eslint-plugin-sonarjs@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-1.0.3.tgz#423de6f9244c886633ff36183c6fbc9fb1ed867d"
integrity sha512-6s41HLPYPyDrp+5+7Db5yFYbod6h9pC7yx+xfcNwHRcLe1EZwbbQT/tdOAkR7ekVUkNGEvN3GmYakIoQUX7dEg==

eslint-scope@^5.1.1:
version "5.1.1"
Expand Down

0 comments on commit 3b0fa8f

Please sign in to comment.