UNPKG

kakashi-nextjs-template

Version:

A comprehensive Next.js boilerplate with modern features and best practices.

18 lines (13 loc) 463 B
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 = [ { ignores: ["bin/"] }, // Add this line to ignore the bin directory ...compat.extends("next/core-web-vitals", "next/typescript"), ]; export default eslintConfig;