text: module.exports = {
    parser: '@typescript-eslint/parser',
    plugins: ['@typescript-eslint', 'react-hooks'],
    extends: [
      'airbnb',
      'plugin:react/recommended',
      'plugin:jsx-a11y/recommended',
      'plugin:@typescript-eslint/recommended',
      'plugin:prettier/recommended'
    ],
    rules: {
      'prettier/prettier': 0,
      'import/extensions': [
        'error',
        'ignorePackages',
        {
          js: 'never',
          jsx: 'never',
          ts: 'never',
          tsx: 'never'
        }
      ],
      'no-use-before-define': 'off',
      'import/no-unresolved': ['error', { ignore: ['^react$'] }],
      'react/jsx-filename-extension': [1, { extensions: ['.tsx', '.ts'] }]
    },
    settings: {
      react: {
        pragma: 'React',
        version: '17.0.1'
      },
      'import/resolver': {
        node: {
          extensions: ['.js', '.jsx', '.ts', '.tsx']
        }
      }
    },
    ignorePatterns: ['dist', 'node_modules']
  };
  