Skip to content

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

lint fixes

Matheus Nogueira63c59ef4b721
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateEnvironmentsForm.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateEnvironmentsForm.tsx
index decfd9aad2..2ff6a94454 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateEnvironmentsForm.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateEnvironmentsForm.tsx
@@ -139,9 +139,7 @@ export const ProjectTemplateEnvironmentsForm = ({
{errors.environments && (
<span className="my-4 text-sm text-red">{errors.environments.message}</span>
)}
- <Table
- className="table-fixed"
- >
+ <Table className="table-fixed">
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx
index b1346f02d7..8fbc6cd304 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx
@@ -225,9 +225,7 @@ export const ProjectTemplateGroupsSection = ({ projectTemplate }: Props) => {
</div>
{errors.groups && <span className="my-4 text-sm text-red">{errors.groups.message}</span>}
{groups.length > 0 ? (
- <Table
- className="table-fixed"
- >
+ <Table className="table-fixed">
<TableHeader>
<TableRow>
<TableHead>Group</TableHead>
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx
index d7608672a2..f5a12f9a54 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx
@@ -344,9 +344,7 @@ export const ProjectTemplateIdentitiesSection = ({ projectTemplate }: Props) =>
<span className="my-4 text-sm text-red">{errors.projectManagedIdentities.message}</span>
)}
{allIdentitiesForTable.length > 0 ? (
- <Table
- className="table-fixed"
- >
+ <Table className="table-fixed">
<TableHeader>
<TableRow>
<TableHead>Identity</TableHead>
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx
index 42379c1dc9..621809d5bb 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateRolesSection.tsx
@@ -132,9 +132,7 @@ export const ProjectTemplateRolesSection = ({ projectTemplate, isInfisicalTempla
</div>
<div>
{roles.length ? (
- <Table
- className="table-fixed"
- >
+ <Table className="table-fixed">
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>
@@ -158,9 +156,7 @@ export const ProjectTemplateRolesSection = ({ projectTemplate, isInfisicalTempla
}}
onClick={() => handlePopUpOpen("editRole", role)}
>
- <TableCell>
- {role.name}
- </TableCell>
+ <TableCell>{role.name}</TableCell>
<TableCell>
<span className="inline-flex items-center gap-1.5 rounded-md border border-mineshaft-500 bg-mineshaft-700 px-2 py-0.5 text-sm font-medium text-mineshaft-200">
{isCustomRole ? (
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx
index 6a0d00a210..9e65b1a945 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx
@@ -226,9 +226,7 @@ export const ProjectTemplateUsersSection = ({ projectTemplate }: Props) => {
</div>
{errors.users && <span className="my-4 text-sm text-red">{errors.users.message}</span>}
{users.length > 0 ? (
- <Table
- className="table-fixed"
- >
+ <Table className="table-fixed">
<TableHeader>
<TableRow>
<TableHead>Username</TableHead>
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx
index 1efb3c4071..1c17b7b1d9 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx
@@ -117,10 +117,7 @@ export const ProjectTemplatePage = ({ templateId, projectType, onBack }: Props)
)}
</PageHeader>
<div className="pb-8">
- <EditProjectTemplateSection
- templateId={templateId}
- projectType={projectType}
- />
+ <EditProjectTemplateSection templateId={templateId} projectType={projectType} />
</div>
</div>
</div>
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx
index b709d11f31..3bbbe385b7 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx
@@ -127,10 +127,7 @@ export const ProjectTemplatesTable = ({ projectType, onEdit }: Props) => {
(identities?.length || 0) + (projectManagedIdentities?.length || 0);
return (
- <TableRow
- onClick={() => onEdit(template)}
- key={id}
- >
+ <TableRow onClick={() => onEdit(template)} key={id}>
<TableCell>
{name}
{description && (