text: module.exports = {
    root: true,
    parser: '@typescript-eslint/parser',
    plugins: ['@typescript-eslint', 'jest'],
    extends: [
      'plugin:react/recommended',
      'eslint:recommended',
      'plugin:@typescript-eslint/recommended',
      'plugin:react-hooks/recommended',
      'prettier',
    ],
    parserOptions: {
      ecmaVersion: 2020,
    },
    rules: {
      '@typescript-eslint/explicit-function-return-type': 'off',
      '@typescript-eslint/explicit-module-boundary-types': 'off',
      'no-debugger': 'warn',
      'react/react-in-jsx-scope': 'off',
      'react/prop-types': 'off',
      'react/display-name': 'off',
      'no-console': 1,
      'prefer-template': 1,
    },
    overrides: [
      {
        files: ['*.test.ts'],
        rules: {
          '@typescript-eslint/no-non-null-assertion': 0,
        },
      },
      {
        files: ['*.js'],
        rules: {
          '@typescript-eslint/no-var-requires': 'off',
        },
        env: {
          node: true,
        },
      },
    ],
    settings: {
      react: {
        version: 'latest',
      },
    },
  }
  