import { defineConfig } from 'eslint/config';

import { baseConfig, restrictEnvAccess } from '@spoon/eslint-config/base';
import { nextjsConfig } from '@spoon/eslint-config/nextjs';
import { reactConfig } from '@spoon/eslint-config/react';

export default defineConfig(
  {
    ignores: ['.next/**'],
  },
  baseConfig,
  reactConfig,
  nextjsConfig,
  restrictEnvAccess,
);
