Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

[bot] Decrease ESLint ratchet baselines (#43521)

supabase-supabase-autofixer[bot]4d37a5f44d56
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json
index 3137e6c6f54..d4354369771 100644
--- a/apps/studio/.github/eslint-rule-baselines.json
+++ b/apps/studio/.github/eslint-rule-baselines.json
@@ -1,12 +1,12 @@
{
"rules": {
- "react-hooks/exhaustive-deps": 208,
+ "react-hooks/exhaustive-deps": 205,
"import/no-anonymous-default-export": 57,
"@tanstack/query/exhaustive-deps": 13,
- "@typescript-eslint/no-explicit-any": 1207,
+ "@typescript-eslint/no-explicit-any": 1205,
"no-restricted-imports": 59,
- "no-restricted-exports": 296,
- "react/no-unstable-nested-components": 69
+ "no-restricted-exports": 282,
+ "react/no-unstable-nested-components": 68
},
"ruleFiles": {
"react-hooks/exhaustive-deps": {
@@ -139,7 +139,6 @@
"hooks/analytics/useProjectUsageStats.tsx": 1,
"hooks/analytics/useTimeseriesUnixToIso.ts": 2,
"hooks/branches/useEdgeFunctionsDiff.ts": 1,
- "hooks/misc/useReportDateRange.ts": 1,
"hooks/misc/useSchemaQueryState.ts": 1,
"hooks/misc/useTrackExperimentExposure.ts": 1,
"hooks/misc/useUpgradePrompt.tsx": 1,
@@ -153,7 +152,6 @@
"pages/project/[ref]/auth/policies.tsx": 2,
"pages/project/[ref]/building.tsx": 1,
"pages/project/[ref]/editor/[id].tsx": 1,
- "pages/project/[ref]/integrations/index.tsx": 1,
"pages/project/[ref]/settings/jwt/legacy.tsx": 1,
"pages/project/[ref]/sql/quickstarts.tsx": 1,
"pages/project/[ref]/sql/templates.tsx": 1,
@@ -274,7 +272,6 @@
"components/interfaces/Auth/Policies/Policies.utils.ts": 1,
"components/interfaces/Auth/Policies/PolicyEditor/PolicyRoles.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditor/index.tsx": 2,
- "components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx": 2,
"components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx": 2,
"components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx": 2,
@@ -305,7 +302,7 @@
"components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx": 1,
"components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx": 3,
"components/interfaces/Database/Indexes/Indexes.tsx": 1,
- "components/interfaces/Database/Migrations/Migrations.tsx": 2,
+ "components/interfaces/Database/Migrations/Migrations.tsx": 1,
"components/interfaces/Database/Privileges/PrivilegesTable.tsx": 1,
"components/interfaces/Database/Publications/PublicationsList.tsx": 5,
"components/interfaces/Database/Publications/PublicationsTableItem.tsx": 5,
@@ -422,7 +419,6 @@
"components/interfaces/SQLEditor/useAddDefinitions.ts": 1,
"components/interfaces/Settings/Addons/Addons.tsx": 1,
"components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx": 1,
- "components/interfaces/Settings/Addons/IPv4SidePanel.tsx": 1,
"components/interfaces/Settings/Addons/PITRSidePanel.tsx": 1,
"components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx": 2,
"components/interfaces/Settings/Database/DiskSizeConfigurationModal.tsx": 1,
@@ -437,7 +433,7 @@
"components/interfaces/Settings/Logs/LogTable.tsx": 2,
"components/interfaces/Settings/Logs/Logs.constants.ts": 1,
"components/interfaces/Settings/Logs/Logs.types.ts": 1,
- "components/interfaces/Settings/Logs/Logs.utils.ts": 11,
+ "components/interfaces/Settings/Logs/Logs.utils.ts": 12,
"components/interfaces/Settings/Logs/LogsQueryPanel.tsx": 2,
"components/interfaces/Settings/Logs/PreviewFilterPanel.tsx": 1,
"components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx": 2,
@@ -714,6 +710,7 @@
"pages/integrations/vercel/[slug]/deploy-button/new-project.tsx": 1,
"pages/integrations/vercel/[slug]/marketplace/choose-project.tsx": 1,
"pages/new/index.tsx": 1,
+ "pages/partners/stripe/fabric/login.tsx": 1,
"pages/project/[ref]/auth/templates/[templateId].tsx": 1,
"pages/project/[ref]/functions/[functionSlug]/index.tsx": 3,
"pages/project/[ref]/settings/log-drains.tsx": 1,
@@ -802,10 +799,7 @@
"components/interfaces/Auth/Policies/PolicyEditor/PolicyAllowedOperation.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditor/PolicyEditorFooter.tsx": 1,
- "components/interfaces/Auth/Policies/PolicyEditor/index.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModalTitle.tsx": 1,
- "components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx": 1,
- "components/interfaces/Auth/Policies/PolicyReview.tsx": 1,
"components/interfaces/Auth/Policies/PolicySelection.tsx": 1,
"components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx": 1,
"components/interfaces/Auth/Policies/PolicyTemplates/TemplatesList.tsx": 1,
@@ -871,7 +865,6 @@
"components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx": 1,
"components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx": 1,
"components/interfaces/Organization/BillingSettings/CreditBalance.tsx": 1,
- "components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx": 1,
"components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx": 1,
"components/interfaces/Organization/BillingSettings/Subscription/MembersExceedLimitModal.tsx": 1,
"components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx": 1,
@@ -929,21 +922,13 @@
"components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx": 1,
"components/interfaces/Settings/Addons/IPv4SidePanel.tsx": 1,
"components/interfaces/Settings/Addons/PITRSidePanel.tsx": 1,
- "components/interfaces/Settings/Database/BannedIPs.tsx": 1,
"components/interfaces/Settings/Database/DatabaseSettings/ConfirmDisableReadOnlyModal.tsx": 1,
"components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx": 1,
- "components/interfaces/Settings/Database/DiskSizeConfiguration.tsx": 1,
"components/interfaces/Settings/Database/DiskSizeConfigurationModal.tsx": 1,
"components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx": 1,
"components/interfaces/Settings/Database/NetworkRestrictions/AllowAllModal.tsx": 1,
"components/interfaces/Settings/Database/NetworkRestrictions/DisallowAllModal.tsx": 1,
"components/interfaces/Settings/Database/NetworkRestrictions/RemoveRestrictionModal.tsx": 1,
- "components/interfaces/Settings/Database/SSLConfiguration.tsx": 1,
- "components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx": 1,
- "components/interfaces/Settings/General/CustomDomainConfig/CustomDomainDelete.tsx": 1,
- "components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx": 1,
- "components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx": 1,
- "components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsShimmerLoader.tsx": 1,
"components/interfaces/Settings/General/CustomDomainConfig/DNSRecord.tsx": 1,
"components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx": 1,
"components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx": 1,
@@ -971,7 +956,6 @@
"components/interfaces/Settings/Logs/UpgradePrompt.tsx": 1,
"components/interfaces/SignIn/PasswordConditionsHelper.tsx": 1,
"components/interfaces/Storage/StorageBucketsError.tsx": 1,
- "components/interfaces/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.tsx": 1,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx": 1,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesPlaceholder.tsx": 1,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesReview.tsx": 1,