build(deps-dev): bump eslint-plugin-perfectionist from 3.2.0 to 3.3.0 in the regular...
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tue, 27 Aug 2024 22:08:19 +0000 (00:08 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2024 22:08:19 +0000 (22:08 +0000)
* 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] <support@github.com>
* [autofix.ci] apply automated fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
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
pnpm-lock.yaml
src/worker/abstract-worker.ts

index b139944f854cc06ed6aa140f8f1626920a21da50..4d9024ece677d760050f6f6274c816042908defe 100644 (file)
     "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",
index ef5728f26babf52478d8b5b4f2c0924d0059282d..f98b32a0fa7ec249604eeb32f94a54ceba486c43 100644 (file)
@@ -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)
index 3b5f11fcfb259b829ead8cdfefa4535d68dae4d8..24a4b01fc39fb033cc989bfe95736cc53f3527a0 100644 (file)
@@ -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