import nextjsConfig from "@mosaic/config/eslint/nextjs";

export default [
  ...nextjsConfig,
  {
    languageOptions: {
      parserOptions: {
        project: ["./tsconfig.json"],
        tsconfigRootDir: import.meta.dirname,
      },
    },
  },
  {
    ignores: [".next/**", "node_modules/**"],
  },
];
