// @ts-check

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config({
  extends: [eslint.configs.recommended, tseslint.configs.recommended],
  ignores: ["*.d.ts"],
  languageOptions: {
    ecmaVersion: "latest",
    sourceType: "module",
    parserOptions: { ecmaFeatures: { jsx: true } },
  },
  settings: {
    env: {
      browser: true,
      es6: true,
    },
  },
});
