text: module.exports = {
      root: true,
      env: {
          browser: true,
          es2021: true,
      },
      extends: [
          'plugin:react/recommended',
          'airbnb',
          'prettier',
          'plugin:@next/next/recommended',
          'plugin:@typescript-eslint/eslint-recommended',
          'plugin:@typescript-eslint/recommended',
          'plugin:import/typescript',
      ],
      parser: '@typescript-eslint/parser',
      parserOptions: {
          ecmaFeatures: {
              jsx: true,
          },
          ecmaVersion: 12,
          sourceType: 'module',
      },
      plugins: ['@typescript-eslint', 'react', 'react-hooks'],
      rules: {
          'react/prop-types': 'off',
          'import/prefer-default-export': 'off',
          'react/react-in-jsx-scope': 'off',
          'react/jsx-props-no-spreading': 0,
          'react/jsx-filename-extension': [
              1,
              {
                  extensions: ['.js', '.jsx', '.tsx', '.ts'],
              },
          ],
          'import/no-unresolved': 'error',
          'import/extensions': [
              'error',
              'ignorePackages',
              {
                  js: 'never',
                  jsx: 'never',
                  ts: 'never',
                  tsx: 'never',
              },
          ],
          'import/no-extraneous-dependencies': [
              'error',
              { devDependencies: true },
          ],
      },
      settings: {
          react: {
              version: 'detect',
          },
          'import/resolver': {
              typescript: {
                  alwaysTryTypes: true,
                  project: './tsconfig.json',
              },
          },
          'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],
      },
  };
  