The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): rename database linter (#23274)
Charis12c5eb44b281
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 9f7e970d241..26d333582e3 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -802,8 +802,8 @@ export const database: NavMenuConstant = {url: '/guides/database/query-optimization',},{- name: 'Database linter',- url: '/guides/database/database-linter',+ name: 'Database Advisors',+ url: '/guides/database/database-advisors',},{name: 'Debugging and monitoring',diff --git a/apps/docs/pages/guides/database/database-linter.tsx b/apps/docs/pages/guides/database/database-advisors.tsxsimilarity index 89%rename from apps/docs/pages/guides/database/database-linter.tsxrename to apps/docs/pages/guides/database/database-advisors.tsxindex 03b246a7397..1c55e424923 100644--- a/apps/docs/pages/guides/database/database-linter.tsx+++ b/apps/docs/pages/guides/database/database-advisors.tsx@@ -26,30 +26,30 @@ export const branch = 'main'export const docsDir = 'docs'const meta = {- title: 'Database Linter',+ title: 'Performance and Security Advisors',subtitle: 'Check your database for performance and security issues',}const editLink = 'https://github.com/supabase/splinter/tree/main/docs'const markdownIntro = `-You can use the Database Linter to check your database for issues such as missing indexes and improperly set-up RLS policies.+You can use the Database Performance and Security Advisors to check your database for issues such as missing indexes and improperly set-up RLS policies.-## Using the linter+## Using the Advisors-In the dashboard, navigate to [Database Linter](https://supabase.com/dashboard/project/_/database/linter) under Database. The linter runs automatically. You can also manually rerun it after you've resolved issues.+In the dashboard, navigate to [Security Advisor](https://supabase.com/dashboard/project/_/database/security-advisor) and [Performance Advisor](https://supabase.com/dashboard/project/_/database/performance-advisor) under Database. The advisors run automatically. You can also manually rerun them after you've resolved issues.`.trim()const getBasename = (path: string) => path.split('/').at(-1).replace(/\.md$/, '')-export default function ProjectLinterDocs({+export default function DatabaseAdvisorDocs({intro,lints,}: InferGetStaticPropsType<typeof getStaticProps>) {return (<Layout menuId={MenuId.Database} meta={meta} editLink={editLink}><MDXRemote {...intro} components={components} />- <Heading tag="h2">Available lints</Heading>+ <Heading tag="h2">Available checks</Heading><Tabs listClassNames="flex flex-wrap gap-2 [&>button]:!m-0" queryGroup="lint">{lints.map((lint) => (<Tabs.Paneldiff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex 2e664e4a487..33ef0dbdf21 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -2438,4 +2438,9 @@ module.exports = [source: '/docs/guides/database/sql-to-api',destination: '/docs/guides/api/sql-to-api',},+ {+ permanent: true,+ source: '/docs/guides/database/database-linter',+ destination: '/docs/guides/database/database-advisors',+ },]