// @ts-check

import { defineConfig } from "eslint/config";
import reactHooks from "eslint-plugin-react-hooks";
import tseslint from "typescript-eslint";

export default defineConfig([
  {
    ignores: ["node_modules/", ".next/"],
  },
  {
    files: ["**/*.ts", "**/*.js", "**/*.tsx"],
  },
  reactHooks.configs.flat.recommended,
  tseslint.configs.base,
]);
