text: module.exports = {
    root: true,
    env: {
      es6: true,
      node: true,
      browser: true,
      commonjs: true
    },
    parserOptions: {
      parser: '@typescript-eslint/parser',
      ecmaFeatures: {
        jsx: true
      },
      sourceType: 'module'
    },
    settings: {
      react: { version: 'detect' }
    },
    extends: [
      'eslint:recommended',
      'plugin:@typescript-eslint/eslint-recommended',
      'plugin:@typescript-eslint/recommended',
      'plugin:react/recommended',
      'plugin:react-hooks/recommended',
      'prettier'
    ],
    plugins: ['react-hooks', 'react', '@typescript-eslint'],
    rules: {
      'react/prop-types': 'off',
      'react/react-in-jsx-scope': 'off',
      'no-console': 'warn',
      '@typescript-eslint/explicit-module-boundary-types': 'off',
      'no-restricted-imports': ['error', { patterns: ['../*'] }]
    }
  }
  