mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This PR updates the `with-supabase` template to better auth pages, Tailwind v4 and newest `components.json` for full compatibility with shadcn/ui. The `(auth-pages)` folder has been removed. For auth, the template is now using the [password based auth block](https://supabase.com/ui/docs/nextjs/password-based-auth) from the Supabase UI Library which makes it easier to update it and keep it up-to-date. --------- Co-authored-by: Lee Robinson <[email protected]>
17 lines
393 B
JavaScript
17 lines
393 B
JavaScript
import { dirname } from "path";
|
|
import { fileURLToPath } from "url";
|
|
import { FlatCompat } from "@eslint/eslintrc";
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: __dirname,
|
|
});
|
|
|
|
const eslintConfig = [
|
|
...compat.extends("next/core-web-vitals", "next/typescript"),
|
|
];
|
|
|
|
export default eslintConfig;
|