import { defineConfig } from 'eslint/config';

import { baseConfig } from '@spoon/eslint-config/base';

export default defineConfig(
  {
    ignores: ['convex/_generated/**', 'types/**', 'scripts/**', 'dist/**'],
  },
  baseConfig,
  {
    languageOptions: {
      parserOptions: {
        tsconfigRootDir: import.meta.dirname,
      },
    },
  },
);
