text: module.exports = {
    root: true,
    env: {
      browser: true,
      es6: true,
      jest: true,
      node: true,
    },
    extends: [
      "eslint:recommended",
      "plugin:@typescript-eslint/recommended",
      "plugin:@typescript-eslint/recommended-requiring-type-checking",
      "plugin:react/recommended",
      "plugin:react-hooks/recommended",
      "plugin:prettier/recommended",
    ],
    parser: "@typescript-eslint/parser",
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 2021,
      sourceType: "module",
      tsconfigRootDir: __dirname,
      project: ["./tsconfig.eslint.json"],
    },
    settings: {
      react: {
        version: "detect",
      },
    },
    plugins: ["@typescript-eslint", "react"],
    rules: {
      "react/prop-types": "off",
      // import provided by vite-react-jsx
      "react/react-in-jsx-scope": "off",
  
      "@typescript-eslint/explicit-module-boundary-types": "off",
    },
  }
  