From 60b5fabe702dab1324f95b2353d8710b6694ec2b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 00:08:19 +0200 Subject: [PATCH] build(deps-dev): bump eslint-plugin-perfectionist from 3.2.0 to 3.3.0 in the regular group (#2549) * build(deps-dev): bump eslint-plugin-perfectionist in the regular group Bumps the regular group with 1 update: [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist). Updates `eslint-plugin-perfectionist` from 3.2.0 to 3.3.0 - [Release notes](https://github.com/azat-io/eslint-plugin-perfectionist/releases) - [Changelog](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/changelog.md) - [Commits](https://github.com/azat-io/eslint-plugin-perfectionist/compare/v3.2.0...v3.3.0) --- updated-dependencies: - dependency-name: eslint-plugin-perfectionist dependency-type: direct:development update-type: version-update:semver-minor dependency-group: regular ... Signed-off-by: dependabot[bot] * [autofix.ci] apply automated fixes --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- src/worker/abstract-worker.ts | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index b139944f..4d9024ec 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "eslint": "^9.9.1", "eslint-define-config": "^2.1.0", "eslint-plugin-jsdoc": "^50.2.2", - "eslint-plugin-perfectionist": "^3.2.0", + "eslint-plugin-perfectionist": "^3.3.0", "expect": "^29.7.0", "globals": "^15.9.0", "husky": "^9.1.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ef5728f2..f98b32a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: ^50.2.2 version: 50.2.2(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-perfectionist: - specifier: ^3.2.0 - version: 3.2.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + specifier: ^3.3.0 + version: 3.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) expect: specifier: ^29.7.0 version: 29.7.0 @@ -1301,8 +1301,8 @@ packages: peerDependencies: eslint: '>=8.23.0' - eslint-plugin-perfectionist@3.2.0: - resolution: {integrity: sha512-cX1aztMbSfRWPKJH8CD+gadrbkS+RNH1OGWuNGws8J6rHzYYhawxWTU/yzMYjq2IRJCpBCfhgfa7BHRXQYxLHA==} + eslint-plugin-perfectionist@3.3.0: + resolution: {integrity: sha512-sGgShkEqDBqIZ3WlenGHwLe1cl3vHKTfeh9b1XXAamaxSC7AY4Os0jdNCXnGJW4l0TlpismT5t2r7CXY7sfKlw==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: astro-eslint-parser: ^1.0.2 @@ -4070,7 +4070,7 @@ snapshots: minimatch: 9.0.5 semver: 7.6.3 - eslint-plugin-perfectionist@3.2.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4): + eslint-plugin-perfectionist@3.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4): dependencies: '@typescript-eslint/types': 8.3.0 '@typescript-eslint/utils': 8.3.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index 3b5f11fc..24a4b01f 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -286,13 +286,13 @@ export abstract class AbstractWorker< }), }) break - case 'remove': - response = this.removeTaskFunction(taskFunctionProperties.name) - break case 'default': response = this.setDefaultTaskFunction(taskFunctionProperties.name) break - // eslint-disable-next-line perfectionist/sort-switch-case + case 'remove': + response = this.removeTaskFunction(taskFunctionProperties.name) + break + default: response = { error: new Error('Unknown task operation'), status: false } break -- 2.34.1