text: module.exports = {
    parser: '@typescript-eslint/parser',
    extends: [
      'plugin:@typescript-eslint/recommended',
      'eslint:recommended',
      'plugin:react/recommended',
      'plugin:jsx-a11y/recommended',
      'plugin:compat/recommended',
      'plugin:prettier/recommended',
    ],
    plugins: ['react-hooks', 'jsx-a11y'],
    parserOptions: {
      ecmaVersion: 2021,
      sourceType: 'module',
      ecmaFeatures: {
        jsx: true,
      },
      allowImportExportEverywhere: true,
    },
    settings: {
      react: {
        version: 'detect',
      },
    },
    env: {
      jest: true,
      browser: true,
      node: true,
      es6: true,
    },
    rules: {
      'prettier/prettier': 'off',
      'no-console': 'warn',
      'react-hooks/rules-of-hooks': 'error',
      'react-hooks/exhaustive-deps': 'warn',
      'compat/compat': 'error',
      'no-unused-vars': 'warn',
      '@typescript-eslint/no-var-requires': 'warn',
    },
  };
  