text: module.exports = {
    parser: '@typescript-eslint/parser',
    extends: [
      'airbnb-typescript',
      'prettier',
      'eslint:recommended',
      'plugin:react/recommended',
      'plugin:@typescript-eslint/recommended',
      'prettier/@typescript-eslint',
      'plugin:prettier/recommended',
    ],
    plugins: ['react', 'react-hooks', '@typescript-eslint'],
    env: {
      browser: true,
      jasmine: true,
      jest: true,
    },
    rules: {
      '@typescript-eslint/explicit-function-return-type': 0,
      '@typescript-eslint/explicit-module-boundary-types': 0,
      '@typescript-eslint/explicit-member-accessibility': 'off',
      'import/prefer-default-export': 0,
      'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
      'react-hooks/exhaustive-deps': 'warn', // Checks effect dependencies
      'react/jsx-props-no-spreading': 0,
      'react/require-default-props': 0,
    },
    settings: {
      react: {
        pragma: 'React',
        version: 'detect',
      },
    },
    parserOptions: {
      ecmaVersion: 2018,
      sourceType: 'module',
      ecmaFeatures: {
        jsx: true,
      },
      project: 'tsconfig.eslint.json',
    },
  };
  