From e5cbbaaf0942d0e57242d9beab035f9a42b3ed02 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 Nov 2023 17:12:01 +0000
Subject: [PATCH] build(deps): update dependency prettier to v3 (#23627)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
---
 .github/workflows/build.yml                   |  2 +
 lib/config/validation.spec.ts                 | 80 +++++++----------
 lib/modules/datasource/conan/index.ts         | 15 ++--
 lib/modules/datasource/cpan/index.ts          |  5 +-
 .../datasource/galaxy-collection/index.ts     |  5 +-
 lib/modules/datasource/go/releases-direct.ts  |  4 +-
 lib/modules/datasource/nuget/common.ts        |  5 +-
 .../datasource/terraform-provider/index.ts    | 10 +--
 .../manager/asdf/upgradeable-tooling.ts       | 10 +--
 lib/modules/manager/bazel-module/bazelrc.ts   | 10 ++-
 lib/modules/manager/composer/schema.ts        |  5 +-
 .../manager/dockerfile/extract.spec.ts        | 14 +--
 .../manager/maven-wrapper/artifacts.ts        |  5 +-
 .../manager/npm/extract/post/monorepo.spec.ts |  4 +-
 .../manager/terraform/lockfile/hash.ts        |  5 +-
 .../platform/azure/azure-helper.spec.ts       | 30 +++----
 lib/modules/platform/azure/index.spec.ts      | 90 +++++++++----------
 lib/modules/platform/azure/index.ts           |  6 +-
 lib/modules/platform/github/index.ts          |  4 +-
 lib/util/http/github.ts                       |  4 +-
 lib/util/http/index.ts                        |  5 +-
 lib/util/package-rules/sourceurl-prefixes.ts  |  4 +-
 lib/util/template/index.ts                    |  5 +-
 .../config-migration/branch/create.ts         |  5 +-
 .../config-migration/branch/rebase.ts         |  5 +-
 .../repository/config-migration/pr/index.ts   |  5 +-
 lib/workers/repository/onboarding/pr/index.ts |  5 +-
 lib/workers/repository/update/branch/index.ts |  5 +-
 lib/workers/repository/update/pr/index.ts     |  5 +-
 package.json                                  |  2 +-
 pnpm-lock.yaml                                | 10 +--
 test/types/jest.d.ts                          |  9 +-
 tools/generate-imports.mjs                    |  4 +-
 33 files changed, 178 insertions(+), 204 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 20f34b1428..40e9f9eb44 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -344,6 +344,8 @@ jobs:
 
       - name: Unit tests
         shell: bash
+        env:
+          NODE_OPTIONS: --experimental-vm-modules
         run: |
           for shard in ${{ matrix.shards }};
           do
diff --git a/lib/config/validation.spec.ts b/lib/config/validation.spec.ts
index 31b295cf4d..074fdee1ce 100644
--- a/lib/config/validation.spec.ts
+++ b/lib/config/validation.spec.ts
@@ -189,9 +189,8 @@ describe('config/validation', () => {
         },
         major: null,
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toHaveLength(3);
       expect(errors).toMatchSnapshot();
@@ -206,9 +205,8 @@ describe('config/validation', () => {
           },
         ],
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toHaveLength(1);
       expect(errors[0].message).toContain('ansible');
@@ -242,9 +240,8 @@ describe('config/validation', () => {
         },
       ],
     ])('validates enabled managers for %s', async (_case, config) => {
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toHaveLength(0);
     });
@@ -259,9 +256,8 @@ describe('config/validation', () => {
     ])(
       'errors if included not supported enabled managers for %s',
       async (_case, config) => {
-        const { warnings, errors } = await configValidation.validateConfig(
-          config,
-        );
+        const { warnings, errors } =
+          await configValidation.validateConfig(config);
         expect(warnings).toHaveLength(0);
         expect(errors).toHaveLength(1);
         expect(errors).toMatchSnapshot();
@@ -299,9 +295,8 @@ describe('config/validation', () => {
         ],
         major: null,
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(1);
       expect(errors).toMatchSnapshot();
       expect(errors).toHaveLength(15);
@@ -327,9 +322,8 @@ describe('config/validation', () => {
           },
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(4);
       expect(errors).toMatchSnapshot();
       expect(errors).toHaveLength(4);
@@ -363,9 +357,8 @@ describe('config/validation', () => {
           fileMatch: ['x?+'],
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toHaveLength(2);
       expect(errors).toMatchSnapshot();
@@ -692,9 +685,8 @@ describe('config/validation', () => {
           example2: 'https://www.example2.com/example',
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toHaveLength(0);
     });
@@ -707,9 +699,8 @@ describe('config/validation', () => {
           } as unknown as string, // intentional incorrect config to check error message
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toMatchObject([
         {
@@ -727,9 +718,8 @@ describe('config/validation', () => {
           example2: 'http://www.example.com',
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toMatchObject([
         {
@@ -759,9 +749,8 @@ describe('config/validation', () => {
           },
         ],
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(errors).toHaveLength(1);
       expect(warnings).toHaveLength(1);
       expect(errors).toMatchSnapshot();
@@ -779,9 +768,8 @@ describe('config/validation', () => {
           },
         },
       } as never;
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(errors).toHaveLength(1);
       expect(warnings).toHaveLength(0);
       expect(errors).toMatchSnapshot();
@@ -791,9 +779,8 @@ describe('config/validation', () => {
       const config = {
         hostType: 'npm',
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(errors).toHaveLength(0);
       expect(warnings).toHaveLength(1);
       expect(warnings).toMatchSnapshot();
@@ -869,9 +856,8 @@ describe('config/validation', () => {
           example2: 'https://www.example2.com/example',
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toHaveLength(0);
     });
@@ -883,9 +869,8 @@ describe('config/validation', () => {
           example2: 123,
         },
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toMatchObject([
         {
@@ -900,9 +885,8 @@ describe('config/validation', () => {
       const config = {
         schedule: ['30 5 * * *'],
       };
-      const { warnings, errors } = await configValidation.validateConfig(
-        config,
-      );
+      const { warnings, errors } =
+        await configValidation.validateConfig(config);
       expect(warnings).toHaveLength(0);
       expect(errors).toMatchObject([
         {
diff --git a/lib/modules/datasource/conan/index.ts b/lib/modules/datasource/conan/index.ts
index 1a1fd2e982..b8cc3d77d3 100644
--- a/lib/modules/datasource/conan/index.ts
+++ b/lib/modules/datasource/conan/index.ts
@@ -91,9 +91,8 @@ export class ConanDatasource extends Datasource {
       conanPackage.userAndChannel,
       '/revisions',
     );
-    const revisionRep = await this.http.getJson<ConanRevisionsJSON>(
-      revisionLookUp,
-    );
+    const revisionRep =
+      await this.http.getJson<ConanRevisionsJSON>(revisionLookUp);
     const revisions = revisionRep?.body.revisions;
     return revisions?.[0].revision ?? null;
   }
@@ -180,9 +179,8 @@ export class ConanDatasource extends Datasource {
                 url,
                 `v2/conans/${conanPackage.conanName}/${latestVersion}/${conanPackage.userAndChannel}/latest`,
               );
-              const revResp = await this.http.getJson<ConanRevisionJSON>(
-                latestRevisionUrl,
-              );
+              const revResp =
+                await this.http.getJson<ConanRevisionJSON>(latestRevisionUrl);
               const packageRev = revResp.body.revision;
 
               const [user, channel] = conanPackage.userAndChannel.split('/');
@@ -190,9 +188,8 @@ export class ConanDatasource extends Datasource {
                 `${groups.host}/artifactory/api/storage/${groups.repo}`,
                 `${user}/${conanPackage.conanName}/${latestVersion}/${channel}/${packageRev}/export/conanfile.py?properties=conan.package.url`,
               );
-              const packageUrlResp = await this.http.getJson<ConanProperties>(
-                packageUrl,
-              );
+              const packageUrlResp =
+                await this.http.getJson<ConanProperties>(packageUrl);
 
               if (
                 packageUrlResp.body.properties &&
diff --git a/lib/modules/datasource/cpan/index.ts b/lib/modules/datasource/cpan/index.ts
index ee8a808da5..777da99563 100644
--- a/lib/modules/datasource/cpan/index.ts
+++ b/lib/modules/datasource/cpan/index.ts
@@ -79,9 +79,8 @@ export class CpanDatasource extends Datasource {
           deprecated: isDeprecated,
           maturity,
         } = hit;
-        const version = module.find(
-          ({ name }) => name === packageName,
-        )?.version;
+        const version = module.find(({ name }) => name === packageName)
+          ?.version;
         if (version) {
           // https://metacpan.org/pod/CPAN::DistnameInfo#maturity
           const isStable = maturity === 'released';
diff --git a/lib/modules/datasource/galaxy-collection/index.ts b/lib/modules/datasource/galaxy-collection/index.ts
index dcd4ceca31..7ea6363022 100644
--- a/lib/modules/datasource/galaxy-collection/index.ts
+++ b/lib/modules/datasource/galaxy-collection/index.ts
@@ -59,9 +59,8 @@ export class GalaxyCollectionDatasource extends Datasource {
 
     let versionsUrlResponse: HttpResponse<VersionsProjectResult>;
     try {
-      versionsUrlResponse = await this.http.getJson<VersionsProjectResult>(
-        versionsUrl,
-      );
+      versionsUrlResponse =
+        await this.http.getJson<VersionsProjectResult>(versionsUrl);
     } catch (err) {
       this.handleGenericErrors(err);
     }
diff --git a/lib/modules/datasource/go/releases-direct.ts b/lib/modules/datasource/go/releases-direct.ts
index b9cb6c2e09..e419898fb5 100644
--- a/lib/modules/datasource/go/releases-direct.ts
+++ b/lib/modules/datasource/go/releases-direct.ts
@@ -126,8 +126,8 @@ export class GoDirectDatasource extends Datasource {
     }
 
     if (res.releases) {
-      res.releases = res.releases.filter((release) =>
-        release.version?.startsWith('v'),
+      res.releases = res.releases.filter(
+        (release) => release.version?.startsWith('v'),
       );
     }
 
diff --git a/lib/modules/datasource/nuget/common.ts b/lib/modules/datasource/nuget/common.ts
index 55ce19a78f..cc9db0aee3 100644
--- a/lib/modules/datasource/nuget/common.ts
+++ b/lib/modules/datasource/nuget/common.ts
@@ -33,9 +33,8 @@ export function parseRegistryUrl(registryUrl: string): ParsedRegistryUrl {
     return { feedUrl: registryUrl, protocolVersion: null };
   }
   let protocolVersion = 2;
-  const protocolVersionMatch = protocolVersionRegExp.exec(
-    parsedUrl.hash,
-  )?.groups;
+  const protocolVersionMatch = protocolVersionRegExp.exec(parsedUrl.hash)
+    ?.groups;
   if (protocolVersionMatch) {
     const { protocol } = protocolVersionMatch;
     parsedUrl.hash = '';
diff --git a/lib/modules/datasource/terraform-provider/index.ts b/lib/modules/datasource/terraform-provider/index.ts
index 09cb34092d..d52a78198b 100644
--- a/lib/modules/datasource/terraform-provider/index.ts
+++ b/lib/modules/datasource/terraform-provider/index.ts
@@ -67,9 +67,8 @@ export class TerraformProviderDatasource extends TerraformDatasource {
     const repository = TerraformProviderDatasource.getRepository({
       packageName,
     });
-    const serviceDiscovery = await this.getTerraformServiceDiscoveryResult(
-      registryUrl,
-    );
+    const serviceDiscovery =
+      await this.getTerraformServiceDiscoveryResult(registryUrl);
 
     if (registryUrl === this.defaultRegistryUrls[0]) {
       return await this.queryRegistryExtendedApi(
@@ -220,9 +219,8 @@ export class TerraformProviderDatasource extends TerraformDatasource {
     }
 
     // check public or private Terraform registry
-    const serviceDiscovery = await this.getTerraformServiceDiscoveryResult(
-      registryURL,
-    );
+    const serviceDiscovery =
+      await this.getTerraformServiceDiscoveryResult(registryURL);
     if (!serviceDiscovery) {
       logger.trace(`Failed to retrieve service discovery from ${registryURL}`);
       return null;
diff --git a/lib/modules/manager/asdf/upgradeable-tooling.ts b/lib/modules/manager/asdf/upgradeable-tooling.ts
index 983703b992..1877ff5d99 100644
--- a/lib/modules/manager/asdf/upgradeable-tooling.ts
+++ b/lib/modules/manager/asdf/upgradeable-tooling.ts
@@ -297,9 +297,8 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
           currentValue: semeruJreMatches.version,
         };
       }
-      const temurinJdkMatches = version.match(
-        /^temurin-(?<version>\d\S+)/,
-      )?.groups;
+      const temurinJdkMatches = version.match(/^temurin-(?<version>\d\S+)/)
+        ?.groups;
       if (temurinJdkMatches) {
         return {
           datasource: JavaVersionDatasource.id,
@@ -307,9 +306,8 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
           currentValue: temurinJdkMatches.version,
         };
       }
-      const temurinJreMatches = version.match(
-        /^temurin-jre-(?<version>\d\S+)/,
-      )?.groups;
+      const temurinJreMatches = version.match(/^temurin-jre-(?<version>\d\S+)/)
+        ?.groups;
       if (temurinJreMatches) {
         return {
           datasource: JavaVersionDatasource.id,
diff --git a/lib/modules/manager/bazel-module/bazelrc.ts b/lib/modules/manager/bazel-module/bazelrc.ts
index 4ea652988d..39de1fab86 100644
--- a/lib/modules/manager/bazel-module/bazelrc.ts
+++ b/lib/modules/manager/bazel-module/bazelrc.ts
@@ -12,11 +12,17 @@ const spaceRegex = regEx(`\\s+`);
 
 export class ImportEntry {
   readonly entryType = 'import';
-  constructor(readonly path: string, readonly isTry: boolean) {}
+  constructor(
+    readonly path: string,
+    readonly isTry: boolean,
+  ) {}
 }
 
 export class BazelOption {
-  constructor(readonly name: string, readonly value?: string) {}
+  constructor(
+    readonly name: string,
+    readonly value?: string,
+  ) {}
 
   static parse(input: string): BazelOption[] {
     const options: BazelOption[] = [];
diff --git a/lib/modules/manager/composer/schema.ts b/lib/modules/manager/composer/schema.ts
index e1d9ffa47f..ca074dad97 100644
--- a/lib/modules/manager/composer/schema.ts
+++ b/lib/modules/manager/composer/schema.ts
@@ -309,9 +309,8 @@ export const ComposerExtract = z
 
         const gitRepo = gitRepos[depName];
         if (gitRepo) {
-          const bitbucketMatchGroups = bitbucketUrlRegex.exec(
-            gitRepo.url,
-          )?.groups;
+          const bitbucketMatchGroups = bitbucketUrlRegex.exec(gitRepo.url)
+            ?.groups;
 
           if (bitbucketMatchGroups) {
             dep.datasource = BitbucketTagsDatasource.id;
diff --git a/lib/modules/manager/dockerfile/extract.spec.ts b/lib/modules/manager/dockerfile/extract.spec.ts
index 606ca371ac..9c47215ae7 100644
--- a/lib/modules/manager/dockerfile/extract.spec.ts
+++ b/lib/modules/manager/dockerfile/extract.spec.ts
@@ -108,11 +108,8 @@ describe('modules/manager/dockerfile/extract', () => {
     });
 
     it('handles from as', () => {
-      const res = extractPackageFile(
-        'FROM node:8.9.0-alpine as base\n',
-        '',
-        {},
-      )?.deps;
+      const res = extractPackageFile('FROM node:8.9.0-alpine as base\n', '', {})
+        ?.deps;
       expect(res).toEqual([
         {
           autoReplaceStringTemplate:
@@ -724,11 +721,8 @@ describe('modules/manager/dockerfile/extract', () => {
     });
 
     it('handles FROM without ARG default value', () => {
-      const res = extractPackageFile(
-        'ARG img_base\nFROM $img_base\n',
-        '',
-        {},
-      )?.deps;
+      const res = extractPackageFile('ARG img_base\nFROM $img_base\n', '', {})
+        ?.deps;
       expect(res).toEqual([
         {
           autoReplaceStringTemplate:
diff --git a/lib/modules/manager/maven-wrapper/artifacts.ts b/lib/modules/manager/maven-wrapper/artifacts.ts
index cd9b21035f..4d1e9fcc16 100644
--- a/lib/modules/manager/maven-wrapper/artifacts.ts
+++ b/lib/modules/manager/maven-wrapper/artifacts.ts
@@ -176,9 +176,8 @@ function getExtraEnvOptions(deps: PackageDependency[]): ExtraEnv {
 function getCustomMavenWrapperRepoUrl(
   deps: PackageDependency[],
 ): string | null {
-  const replaceString = deps.find(
-    (dep) => dep.depName === 'maven-wrapper',
-  )?.replaceString;
+  const replaceString = deps.find((dep) => dep.depName === 'maven-wrapper')
+    ?.replaceString;
 
   if (!replaceString) {
     return null;
diff --git a/lib/modules/manager/npm/extract/post/monorepo.spec.ts b/lib/modules/manager/npm/extract/post/monorepo.spec.ts
index 07c79f83c6..7adce0b7a2 100644
--- a/lib/modules/manager/npm/extract/post/monorepo.spec.ts
+++ b/lib/modules/manager/npm/extract/post/monorepo.spec.ts
@@ -65,8 +65,8 @@ describe('modules/manager/npm/extract/post/monorepo', () => {
       ];
       await detectMonorepos(packageFiles);
       expect(
-        packageFiles.some((packageFile) =>
-          packageFile.deps?.some((dep) => dep.isInternal),
+        packageFiles.some(
+          (packageFile) => packageFile.deps?.some((dep) => dep.isInternal),
         ),
       ).toBeTrue();
     });
diff --git a/lib/modules/manager/terraform/lockfile/hash.ts b/lib/modules/manager/terraform/lockfile/hash.ts
index 62357e30fe..e6f9fdddc7 100644
--- a/lib/modules/manager/terraform/lockfile/hash.ts
+++ b/lib/modules/manager/terraform/lockfile/hash.ts
@@ -123,9 +123,8 @@ export class TerraformProviderHash {
         )) ?? [];
     }
 
-    const h1Hashes = await TerraformProviderHash.calculateHashScheme1Hashes(
-      builds,
-    );
+    const h1Hashes =
+      await TerraformProviderHash.calculateHashScheme1Hashes(builds);
 
     const hashes = [];
     hashes.push(...h1Hashes.map((hash) => `h1:${hash}`));
diff --git a/lib/modules/platform/azure/azure-helper.spec.ts b/lib/modules/platform/azure/azure-helper.spec.ts
index 4707ef8560..1e7a722ab3 100644
--- a/lib/modules/platform/azure/azure-helper.spec.ts
+++ b/lib/modules/platform/azure/azure-helper.spec.ts
@@ -20,7 +20,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getRefs: jest.fn(() => [{ objectId: 132 }]),
-          } as any),
+          }) as any,
       );
       const res = await azureHelper.getRefs('123', 'branch');
       expect(res).toMatchSnapshot();
@@ -31,7 +31,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getRefs: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       const res = await azureHelper.getRefs('123');
       expect(res).toHaveLength(0);
@@ -42,7 +42,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getRefs: jest.fn(() => [{ objectId: '132' }]),
-          } as any),
+          }) as any,
       );
       const res = await azureHelper.getRefs('123', 'refs/head/branch1');
       expect(res).toMatchSnapshot();
@@ -55,7 +55,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getRefs: jest.fn(() => [{ objectId: '132' }]),
-          } as any),
+          }) as any,
       );
       const res = await azureHelper.getAzureBranchObj(
         '123',
@@ -70,7 +70,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getRefs: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       const res = await azureHelper.getAzureBranchObj('123', 'branchName');
       expect(res).toMatchSnapshot();
@@ -96,7 +96,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getItemText: jest.fn(() => mockEventStream),
-          } as any),
+          }) as any,
       );
 
       const res = await azureHelper.getFile(
@@ -125,7 +125,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getItemText: jest.fn(() => mockEventStream),
-          } as any),
+          }) as any,
       );
 
       const res = await azureHelper.getFile(
@@ -154,7 +154,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getItemText: jest.fn(() => mockEventStream),
-          } as any),
+          }) as any,
       );
 
       const res = await azureHelper.getFile(
@@ -172,7 +172,7 @@ describe('modules/platform/azure/azure-helper', () => {
             getItemText: jest.fn(() => ({
               readable: false,
             })),
-          } as any),
+          }) as any,
       );
 
       const res = await azureHelper.getFile(
@@ -192,7 +192,7 @@ describe('modules/platform/azure/azure-helper', () => {
             getCommit: jest.fn(() => ({
               parents: ['123456'],
             })),
-          } as any),
+          }) as any,
       );
       const res = await azureHelper.getCommitDetails('123', '123456');
       expect(res).toMatchSnapshot();
@@ -205,7 +205,7 @@ describe('modules/platform/azure/azure-helper', () => {
         () =>
           ({
             getPolicyConfigurations: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       expect(await azureHelper.getMergeMethod('', '')).toEqual(
         GitPullRequestMergeStrategy.NoFastForward,
@@ -231,7 +231,7 @@ describe('modules/platform/azure/azure-helper', () => {
                 },
               },
             ]),
-          } as any),
+          }) as any,
       );
       expect(await azureHelper.getMergeMethod('', '')).toEqual(
         GitPullRequestMergeStrategy.Squash,
@@ -270,7 +270,7 @@ describe('modules/platform/azure/azure-helper', () => {
                 },
               },
             ]),
-          } as any),
+          }) as any,
       );
       expect(await azureHelper.getMergeMethod('', '')).toEqual(
         GitPullRequestMergeStrategy.Rebase,
@@ -339,7 +339,7 @@ describe('modules/platform/azure/azure-helper', () => {
                 },
               },
             ]),
-          } as any),
+          }) as any,
       );
       expect(
         await azureHelper.getMergeMethod('', '', refMock, defaultBranchMock),
@@ -395,7 +395,7 @@ describe('modules/platform/azure/azure-helper', () => {
                 },
               },
             ]),
-          } as any),
+          }) as any,
       );
       expect(
         await azureHelper.getMergeMethod('', '', refMock, defaultBranchMock),
diff --git a/lib/modules/platform/azure/index.spec.ts b/lib/modules/platform/azure/index.spec.ts
index 3f4b4a4074..1b2e258a71 100644
--- a/lib/modules/platform/azure/index.spec.ts
+++ b/lib/modules/platform/azure/index.spec.ts
@@ -75,7 +75,7 @@ describe('modules/platform/azure/index', () => {
               },
             },
           ]),
-        } as any),
+        }) as any,
     );
     return azure.getRepos();
   }
@@ -229,7 +229,7 @@ describe('modules/platform/azure/index', () => {
                 },
               ]),
             getPullRequestCommits: jest.fn().mockReturnValue([]),
-          } as any),
+          }) as any,
       );
       const res = await azure.findPr({
         branchName: 'branch-a',
@@ -270,7 +270,7 @@ describe('modules/platform/azure/index', () => {
                 },
               ]),
             getPullRequestCommits: jest.fn().mockReturnValue([]),
-          } as any),
+          }) as any,
       );
       const res = await azure.findPr({
         branchName: 'branch-a',
@@ -311,7 +311,7 @@ describe('modules/platform/azure/index', () => {
                 },
               ]),
             getPullRequestCommits: jest.fn().mockReturnValue([]),
-          } as any),
+          }) as any,
       );
       const res = await azure.findPr({
         branchName: 'branch-a',
@@ -352,7 +352,7 @@ describe('modules/platform/azure/index', () => {
                 },
               ]),
             getPullRequestCommits: jest.fn().mockReturnValue([]),
-          } as any),
+          }) as any,
       );
       const res = await azure.findPr({
         branchName: 'branch-a',
@@ -491,7 +491,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             getPullRequests: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       expect(await azure.getPrList()).toEqual([]);
     });
@@ -561,7 +561,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'a-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -582,7 +582,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'a-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -603,7 +603,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'a-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -624,7 +624,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'a-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -645,7 +645,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'a-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -666,7 +666,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'a-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -709,7 +709,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'another-genre', name: 'a-name' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatusCheck(
         'somebranch',
@@ -732,7 +732,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'renovate' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatus('somebranch', true);
       expect(res).toBe('green');
@@ -750,7 +750,7 @@ describe('modules/platform/azure/index', () => {
                 context: { genre: 'renovate' },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatus('somebranch', false);
       expect(res).toBe('yellow');
@@ -763,7 +763,7 @@ describe('modules/platform/azure/index', () => {
           ({
             getBranch: jest.fn(() => ({ commit: { commitId: 'abcd1234' } })),
             getStatuses: jest.fn(() => [{ state: GitStatusState.Error }]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatus('somebranch', true);
       expect(res).toBe('red');
@@ -776,7 +776,7 @@ describe('modules/platform/azure/index', () => {
           ({
             getBranch: jest.fn(() => ({ commit: { commitId: 'abcd1234' } })),
             getStatuses: jest.fn(() => [{ state: GitStatusState.Pending }]),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatus('somebranch', true);
       expect(res).toBe('yellow');
@@ -789,7 +789,7 @@ describe('modules/platform/azure/index', () => {
           ({
             getBranch: jest.fn(() => ({ commit: { commitId: 'abcd1234' } })),
             getStatuses: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       const res = await azure.getBranchStatus('somebranch', true);
       expect(res).toBe('yellow');
@@ -808,7 +808,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             getPullRequests: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       const pr = await azure.getPr(1234);
       expect(pr).toBeNull();
@@ -837,7 +837,7 @@ describe('modules/platform/azure/index', () => {
                 },
               },
             ]),
-          } as any),
+          }) as any,
       );
       const pr = await azure.getPr(1234);
       expect(pr).toMatchSnapshot();
@@ -854,7 +854,7 @@ describe('modules/platform/azure/index', () => {
               pullRequestId: 456,
             })),
             createPullRequestLabel: jest.fn(() => ({})),
-          } as any),
+          }) as any,
       );
       const pr = await azure.createPr({
         sourceBranch: 'some-branch',
@@ -875,7 +875,7 @@ describe('modules/platform/azure/index', () => {
               pullRequestId: 456,
             })),
             createPullRequestLabel: jest.fn(() => ({})),
-          } as any),
+          }) as any,
       );
       const pr = await azure.createPr({
         sourceBranch: 'some-branch',
@@ -1034,7 +1034,7 @@ describe('modules/platform/azure/index', () => {
             createPullRequest: jest.fn(() => prResult),
             createPullRequestLabel: jest.fn(() => ({})),
             createPullRequestReviewer: updateFn,
-          } as any),
+          }) as any,
       );
       const pr = await azure.createPr({
         sourceBranch: 'some-branch',
@@ -1057,7 +1057,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             updatePullRequest,
-          } as any),
+          }) as any,
       );
       await azure.updatePr({
         number: 1234,
@@ -1075,7 +1075,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             updatePullRequest,
-          } as any),
+          }) as any,
       );
       await azure.updatePr({
         number: 1234,
@@ -1091,7 +1091,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             updatePullRequest,
-          } as any),
+          }) as any,
       );
       await azure.updatePr({
         number: 1234,
@@ -1109,7 +1109,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             updatePullRequest,
-          } as any),
+          }) as any,
       );
       await azure.updatePr({
         number: 1234,
@@ -1145,7 +1145,7 @@ describe('modules/platform/azure/index', () => {
               pullRequestId: prResult.pullRequestId,
               createdBy: prResult.createdBy,
             })),
-          } as any),
+          }) as any,
       );
       const pr = await azure.updatePr({
         number: prResult.pullRequestId,
@@ -1360,7 +1360,7 @@ describe('modules/platform/azure/index', () => {
             getRepositories: jest.fn(() => [{ id: '1', project: { id: 2 } }]),
             createThread: jest.fn(() => [{ id: 123 }]),
             getThreads: jest.fn(() => []),
-          } as any),
+          }) as any,
       );
       azureApi.coreApi.mockImplementation(
         () =>
@@ -1372,7 +1372,7 @@ describe('modules/platform/azure/index', () => {
             getTeamMembersWithExtendedProperties: jest.fn(() => [
               { identity: { displayName: 'jyc', uniqueName: 'jyc', id: 123 } },
             ]),
-          } as any),
+          }) as any,
       );
       await azure.addAssignees(123, ['test@bonjour.fr', 'jyc', 'def']);
       expect(azureApi.gitApi).toHaveBeenCalledTimes(3);
@@ -1387,7 +1387,7 @@ describe('modules/platform/azure/index', () => {
           ({
             getRepositories: jest.fn(() => [{ id: '1', project: { id: 2 } }]),
             createPullRequestReviewer: jest.fn(),
-          } as any),
+          }) as any,
       );
       azureApi.coreApi.mockImplementation(
         () =>
@@ -1399,7 +1399,7 @@ describe('modules/platform/azure/index', () => {
             getTeamMembersWithExtendedProperties: jest.fn(() => [
               { identity: { displayName: 'jyc', uniqueName: 'jyc', id: 123 } },
             ]),
-          } as any),
+          }) as any,
       );
       await azure.addReviewers(123, ['test@bonjour.fr', 'jyc', 'required:def']);
       expect(azureApi.gitApi).toHaveBeenCalledTimes(3);
@@ -1435,7 +1435,7 @@ describe('modules/platform/azure/index', () => {
           ({
             getBranch: jest.fn(() => ({ commit: { commitId: 'abcd1234' } })),
             createCommitStatus: createCommitStatusMock,
-          } as any),
+          }) as any,
       );
       await azure.setBranchStatus({
         branchName: 'test',
@@ -1467,7 +1467,7 @@ describe('modules/platform/azure/index', () => {
           ({
             getBranch: jest.fn(() => ({ commit: { commitId: 'abcd1234' } })),
             createCommitStatus: createCommitStatusMock,
-          } as any),
+          }) as any,
       );
       await azure.setBranchStatus({
         branchName: 'test',
@@ -1510,7 +1510,7 @@ describe('modules/platform/azure/index', () => {
               title: 'title',
             })),
             updatePullRequest: updatePullRequestMock,
-          } as any),
+          }) as any,
       );
 
       azureHelper.getMergeMethod = jest
@@ -1552,7 +1552,7 @@ describe('modules/platform/azure/index', () => {
             updatePullRequest: jest
               .fn()
               .mockRejectedValue(new Error(`oh no pr couldn't be updated`)),
-          } as any),
+          }) as any,
       );
 
       azureHelper.getMergeMethod = jest
@@ -1576,7 +1576,7 @@ describe('modules/platform/azure/index', () => {
               targetRefName: 'refs/heads/ding',
             })),
             updatePullRequest: jest.fn(),
-          } as any),
+          }) as any,
       );
       azureHelper.getMergeMethod = jest
         .fn()
@@ -1611,7 +1611,7 @@ describe('modules/platform/azure/index', () => {
             updatePullRequest: jest.fn(() => ({
               status: 1,
             })),
-          } as any),
+          }) as any,
       );
       azureHelper.getMergeMethod = jest
         .fn()
@@ -1643,7 +1643,7 @@ describe('modules/platform/azure/index', () => {
             updatePullRequest: jest.fn(() => ({
               status: 1,
             })),
-          } as any),
+          }) as any,
       );
       azureHelper.getMergeMethod = jest
         .fn()
@@ -1667,7 +1667,7 @@ describe('modules/platform/azure/index', () => {
         () =>
           ({
             deletePullRequestLabels: jest.fn(),
-          } as any),
+          }) as any,
       );
       await azure.deleteLabel(1234, 'rebase');
       expect(azureApi.gitApi.mock.calls).toMatchSnapshot();
@@ -1687,7 +1687,7 @@ describe('modules/platform/azure/index', () => {
             getItemContent: jest.fn(() =>
               Promise.resolve(Readable.from(JSON.stringify(data))),
             ),
-          } as any),
+          }) as any,
       );
       const res = await azure.getJsonFile('file.json');
       expect(res).toEqual(data);
@@ -1706,7 +1706,7 @@ describe('modules/platform/azure/index', () => {
             getItemContent: jest.fn(() =>
               Promise.resolve(Readable.from(json5Data)),
             ),
-          } as any),
+          }) as any,
       );
       const res = await azure.getJsonFile('file.json5');
       expect(res).toEqual({ foo: 'bar' });
@@ -1720,7 +1720,7 @@ describe('modules/platform/azure/index', () => {
             getItemContent: jest.fn(() =>
               Promise.resolve(Readable.from(JSON.stringify(data))),
             ),
-          } as any),
+          }) as any,
       );
       const res = await azure.getJsonFile('file.json', undefined, 'dev');
       expect(res).toEqual(data);
@@ -1733,7 +1733,7 @@ describe('modules/platform/azure/index', () => {
             getItemContent: jest.fn(() =>
               Promise.resolve(Readable.from('!@#')),
             ),
-          } as any),
+          }) as any,
       );
       await expect(azure.getJsonFile('file.json')).rejects.toThrow();
     });
@@ -1745,7 +1745,7 @@ describe('modules/platform/azure/index', () => {
             getItemContent: jest.fn(() => {
               throw new Error('some error');
             }),
-          } as any),
+          }) as any,
       );
       await expect(azure.getJsonFile('file.json')).rejects.toThrow();
     });
diff --git a/lib/modules/platform/azure/index.ts b/lib/modules/platform/azure/index.ts
index 874da300b9..00d1bbba8f 100644
--- a/lib/modules/platform/azure/index.ts
+++ b/lib/modules/platform/azure/index.ts
@@ -754,10 +754,8 @@ export async function mergePr({
   logger.trace(
     `Updating PR ${pullRequestId} to status ${PullRequestStatus.Completed} (${
       PullRequestStatus[PullRequestStatus.Completed]
-    }) with lastMergeSourceCommit ${
-      // TODO: types (#22198)
-      pr.lastMergeSourceCommit?.commitId
-    } using mergeStrategy ${mergeStrategy} (${
+    }) with lastMergeSourceCommit ${// TODO: types (#22198)
+    pr.lastMergeSourceCommit?.commitId} using mergeStrategy ${mergeStrategy} (${
       GitPullRequestMergeStrategy[mergeStrategy]
     })`,
   );
diff --git a/lib/modules/platform/github/index.ts b/lib/modules/platform/github/index.ts
index 68034f9319..9e16030bc3 100644
--- a/lib/modules/platform/github/index.ts
+++ b/lib/modules/platform/github/index.ts
@@ -283,8 +283,8 @@ export async function getRepos(config?: AutodiscoverConfig): Promise<string[]> {
   }
 
   logger.debug({ topics: config.topics }, 'Filtering by topics');
-  const topicRepositories = nonArchivedRepositories.filter((repo) =>
-    repo.topics?.some((topic) => config?.topics?.includes(topic)),
+  const topicRepositories = nonArchivedRepositories.filter(
+    (repo) => repo.topics?.some((topic) => config?.topics?.includes(topic)),
   );
 
   if (topicRepositories.length < nonArchivedRepositories.length) {
diff --git a/lib/util/http/github.ts b/lib/util/http/github.ts
index a7a7a6ce8c..bf8ce9848f 100644
--- a/lib/util/http/github.ts
+++ b/lib/util/http/github.ts
@@ -139,8 +139,8 @@ function handleGotError(
       logger.debug({ err }, 'Received invalid response - aborting');
       return new Error(REPOSITORY_CHANGED);
     } else if (
-      err.body?.errors?.find((e: any) =>
-        e.message?.startsWith('A pull request already exists'),
+      err.body?.errors?.find(
+        (e: any) => e.message?.startsWith('A pull request already exists'),
       )
     ) {
       return err;
diff --git a/lib/util/http/index.ts b/lib/util/http/index.ts
index 1cfe45b61b..98db134c62 100644
--- a/lib/util/http/index.ts
+++ b/lib/util/http/index.ts
@@ -127,7 +127,10 @@ async function gotTask<T>(
 export class Http<Opts extends HttpOptions = HttpOptions> {
   private options?: GotOptions;
 
-  constructor(protected hostType: string, options: HttpOptions = {}) {
+  constructor(
+    protected hostType: string,
+    options: HttpOptions = {},
+  ) {
     this.options = merge<GotOptions>(options, { context: { hostType } });
   }
 
diff --git a/lib/util/package-rules/sourceurl-prefixes.ts b/lib/util/package-rules/sourceurl-prefixes.ts
index 13d6d4801c..dc8be4f242 100644
--- a/lib/util/package-rules/sourceurl-prefixes.ts
+++ b/lib/util/package-rules/sourceurl-prefixes.ts
@@ -15,8 +15,8 @@ export class SourceUrlPrefixesMatcher extends Matcher {
     }
     const upperCaseSourceUrl = sourceUrl?.toUpperCase();
 
-    return matchSourceUrlPrefixes.some((prefix) =>
-      upperCaseSourceUrl?.startsWith(prefix.toUpperCase()),
+    return matchSourceUrlPrefixes.some(
+      (prefix) => upperCaseSourceUrl?.startsWith(prefix.toUpperCase()),
     );
   }
 }
diff --git a/lib/util/template/index.ts b/lib/util/template/index.ts
index 10eed76816..5a0b279d23 100644
--- a/lib/util/template/index.ts
+++ b/lib/util/template/index.ts
@@ -20,8 +20,9 @@ handlebars.registerHelper(
 
 handlebars.registerHelper('lowercase', (str: string) => str?.toLowerCase());
 
-handlebars.registerHelper('containsString', (str, subStr) =>
-  str?.includes(subStr),
+handlebars.registerHelper(
+  'containsString',
+  (str, subStr) => str?.includes(subStr),
 );
 
 handlebars.registerHelper('equals', (arg1, arg2) => arg1 === arg2);
diff --git a/lib/workers/repository/config-migration/branch/create.ts b/lib/workers/repository/config-migration/branch/create.ts
index c762b79743..202b41a4d7 100644
--- a/lib/workers/repository/config-migration/branch/create.ts
+++ b/lib/workers/repository/config-migration/branch/create.ts
@@ -29,9 +29,8 @@ export async function createConfigMigrationBranch(
   }
 
   await scm.checkoutBranch(config.defaultBranch!);
-  const contents = await MigratedDataFactory.applyPrettierFormatting(
-    migratedConfigData,
-  );
+  const contents =
+    await MigratedDataFactory.applyPrettierFormatting(migratedConfigData);
   return scm.commitAndPush({
     baseBranch: config.baseBranch,
     branchName: getMigrationBranchName(config),
diff --git a/lib/workers/repository/config-migration/branch/rebase.ts b/lib/workers/repository/config-migration/branch/rebase.ts
index da1d909564..85469195dd 100644
--- a/lib/workers/repository/config-migration/branch/rebase.ts
+++ b/lib/workers/repository/config-migration/branch/rebase.ts
@@ -43,9 +43,8 @@ export async function rebaseMigrationBranch(
   const commitMessage = commitMessageFactory.getCommitMessage();
 
   await scm.checkoutBranch(config.defaultBranch!);
-  contents = await MigratedDataFactory.applyPrettierFormatting(
-    migratedConfigData,
-  );
+  contents =
+    await MigratedDataFactory.applyPrettierFormatting(migratedConfigData);
   return scm.commitAndPush({
     baseBranch: config.baseBranch,
     branchName,
diff --git a/lib/workers/repository/config-migration/pr/index.ts b/lib/workers/repository/config-migration/pr/index.ts
index aaf2892378..3fde6d57c6 100644
--- a/lib/workers/repository/config-migration/pr/index.ts
+++ b/lib/workers/repository/config-migration/pr/index.ts
@@ -50,9 +50,8 @@ ${
 
 :no_bell: **Ignore**: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid.
 
-:question: Got questions? Does something look wrong to you? Please don't hesitate to [request help here](${
-      config.productLinks?.help
-    }).\n\n`,
+:question: Got questions? Does something look wrong to you? Please don't hesitate to [request help here](${config
+      .productLinks?.help}).\n\n`,
   );
 
   if (is.string(config.prHeader)) {
diff --git a/lib/workers/repository/onboarding/pr/index.ts b/lib/workers/repository/onboarding/pr/index.ts
index 6810cd4b24..3d36e5d577 100644
--- a/lib/workers/repository/onboarding/pr/index.ts
+++ b/lib/workers/repository/onboarding/pr/index.ts
@@ -63,9 +63,8 @@ export async function ensureOnboardingPr(
       return;
     }
   }
-  const onboardingConfigHashComment = await getOnboardingConfigHashComment(
-    config,
-  );
+  const onboardingConfigHashComment =
+    await getOnboardingConfigHashComment(config);
   const rebaseCheckBox = getRebaseCheckbox(config.onboardingRebaseCheckbox);
   logger.debug('Filling in onboarding PR template');
   let prTemplate = `Welcome to [Renovate](${
diff --git a/lib/workers/repository/update/branch/index.ts b/lib/workers/repository/update/branch/index.ts
index ed167ba474..8c145295ba 100644
--- a/lib/workers/repository/update/branch/index.ts
+++ b/lib/workers/repository/update/branch/index.ts
@@ -494,9 +494,8 @@ export async function processBranch(
         await embedChangelogs(config.upgrades);
       }
 
-      const postUpgradeCommandResults = await executePostUpgradeCommands(
-        config,
-      );
+      const postUpgradeCommandResults =
+        await executePostUpgradeCommands(config);
 
       if (postUpgradeCommandResults !== null) {
         const { updatedArtifacts, artifactErrors } = postUpgradeCommandResults;
diff --git a/lib/workers/repository/update/pr/index.ts b/lib/workers/repository/update/pr/index.ts
index 5364a9d108..6eb44a70eb 100644
--- a/lib/workers/repository/update/pr/index.ts
+++ b/lib/workers/repository/update/pr/index.ts
@@ -449,8 +449,9 @@ export async function ensurePr(
         if (
           err.body?.message === 'Validation failed' &&
           err.body.errors?.length &&
-          err.body.errors.some((error: { message?: string }) =>
-            error.message?.startsWith('A pull request already exists'),
+          err.body.errors.some(
+            (error: { message?: string }) =>
+              error.message?.startsWith('A pull request already exists'),
           )
         ) {
           logger.warn('A pull requests already exists');
diff --git a/package.json b/package.json
index 91dd4d39e7..aa28638d85 100644
--- a/package.json
+++ b/package.json
@@ -228,7 +228,7 @@
     "p-queue": "6.6.2",
     "p-throttle": "4.1.1",
     "parse-link-header": "2.0.0",
-    "prettier": "2.8.8",
+    "prettier": "3.0.3",
     "redis": "4.6.10",
     "remark": "13.0.0",
     "remark-github": "10.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b7def06bf8..a035699d02 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -264,8 +264,8 @@ importers:
         specifier: 2.0.0
         version: 2.0.0
       prettier:
-        specifier: 2.8.8
-        version: 2.8.8
+        specifier: 3.0.3
+        version: 3.0.3
       redis:
         specifier: 4.6.10
         version: 4.6.10
@@ -9292,9 +9292,9 @@ packages:
     engines: {node: '>= 0.8.0'}
     dev: true
 
-  /prettier@2.8.8:
-    resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
-    engines: {node: '>=10.13.0'}
+  /prettier@3.0.3:
+    resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==}
+    engines: {node: '>=14'}
     hasBin: true
     dev: false
 
diff --git a/test/types/jest.d.ts b/test/types/jest.d.ts
index 4d42ef0886..671fdc66b6 100644
--- a/test/types/jest.d.ts
+++ b/test/types/jest.d.ts
@@ -74,7 +74,9 @@ type JestPromiseMatchers<T> = {
 };
 
 type JestExpect = {
-  <T = unknown>(actual: T): JestMatchers<void, T> &
+  <T = unknown>(
+    actual: T,
+  ): JestMatchers<void, T> &
     JestInverse<JestMatchers<void, T>> &
     JestPromiseMatchers<T>;
   addSnapshotSerializer: (arg: Plugin) => void;
@@ -86,7 +88,10 @@ type JestExpect = {
 type JestItEach = Global.It['each'];
 
 interface JestEach extends JestItEach {
-  (strings: TemplateStringsArray, ...placeholders: any[]): (
+  (
+    strings: TemplateStringsArray,
+    ...placeholders: any[]
+  ): (
     name: string,
     fn: (arg: any) => ReturnType<Global.TestFn>,
     timeout?: number,
diff --git a/tools/generate-imports.mjs b/tools/generate-imports.mjs
index a7c0738031..453e49a6c6 100644
--- a/tools/generate-imports.mjs
+++ b/tools/generate-imports.mjs
@@ -193,9 +193,7 @@ await (async () => {
     await generateData();
     await generateHash();
     await Promise.all(
-      (
-        await glob('lib/**/*.generated.ts')
-      )
+      (await glob('lib/**/*.generated.ts'))
         .map((f) => upath.join(f))
         .filter((f) => !newFiles.has(f))
         .map(async (file) => {
-- 
GitLab