text: module.exports = {
    env: {
      browser: true,
      es2021: true,
      jest: true,
    },
    extends: [
      'plugin:react/recommended',
      'airbnb',
      'airbnb-typescript',
    ],
    parser: '@typescript-eslint/parser',
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 13,
      project: 'browser/tsconfig.json',
      sourceType: 'module',
    },
    plugins: [
      'react',
      '@typescript-eslint',
    ],
    rules: {
      'arrow-parens': ['error', 'as-needed'],
      'no-confusing-arrow': 'off',
      'no-plusplus': 'off',
      'import/prefer-default-export': 'off',
      'react/jsx-props-no-spreading': 'off',
      'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
      'react/jsx-one-expression-per-line': 'off',
      '@typescript-eslint/lines-between-class-members': ['error', 'always', {
        exceptAfterSingleLine: true,
      }],
      'no-param-reassign': ['off', { props: false }],
      'no-underscore-dangle': ['error', { allow: ['_id'] }],
    },
  };
  