Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Lint fix

Carlos Monastyrski159a5ede1d5c
diff --git a/backend/src/server/routes/v1/deprecated-certificate-router.ts b/backend/src/server/routes/v1/deprecated-certificate-router.ts
index 769f47cd93..b9aee17e2d 100644
--- a/backend/src/server/routes/v1/deprecated-certificate-router.ts
+++ b/backend/src/server/routes/v1/deprecated-certificate-router.ts
@@ -540,8 +540,7 @@ export const registerDeprecatedCertRouter = async (server: FastifyZodProvider) =
schema: {
hide: false,
tags: [ApiDocsTags.PkiCertificates],
- description:
- "Delete certificate. Only expired, discovered and imported certificates can be deleted.",
+ description: "Delete certificate. Only expired, discovered and imported certificates can be deleted.",
params: z.object({
serialNumber: z.string().trim().describe(CERTIFICATES.DELETE.serialNumber)
}),
diff --git a/backend/src/services/certificate/certificate-fns.test.ts b/backend/src/services/certificate/certificate-fns.test.ts
index a355515927..28c4bbab89 100644
--- a/backend/src/services/certificate/certificate-fns.test.ts
+++ b/backend/src/services/certificate/certificate-fns.test.ts
@@ -2,9 +2,8 @@ import { webcrypto } from "node:crypto";
import * as x509 from "@peculiar/x509";
-import { BadRequestError } from "@app/lib/errors";
-
import { CertificateSource } from "@app/ee/services/pki-discovery/pki-discovery-types";
+import { BadRequestError } from "@app/lib/errors";
import {
buildCertificateBundle,
diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
index 86d44211a2..d7776dfc65 100644
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
@@ -1328,8 +1328,10 @@ export const CertificatesTable = ({
})()}
{!(isInventoryView && certificate.applicationId) &&
(() => {
- const deletionBlockReason =
- getCertificateDeletionBlockReason(certificate, canRevokeCertificate);
+ const deletionBlockReason = getCertificateDeletionBlockReason(
+ certificate,
+ canRevokeCertificate
+ );
const item = (
<DropdownMenuItem