text: module.exports = {
    extends: [
      'airbnb-typescript',
      'airbnb/hooks',
      'plugin:@typescript-eslint/recommended',
      'plugin:jest/recommended',
      'plugin:prettier/recommended',
      'prettier',
      'prettier/react',
      'prettier/@typescript-eslint',
    ],
    plugins: ['react', '@typescript-eslint', 'jest'],
    ignorePatterns: ['src/**/*.scss', 'src/services/generated/*.js', 'src/services/generated/*.ts'],
    env: {
      browser: true,
      es6: true,
      jest: true,
    },
    globals: {
      Atomics: 'readonly',
      SharedArrayBuffer: 'readonly',
    },
    parser: '@typescript-eslint/parser',
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 2018,
      sourceType: 'module',
      project: './tsconfig.json',
      createDefaultProgram: true,
    },
    rules: {
      'linebreak-style': 'off',
      'react/jsx-props-no-spreading': 'off',
      'jsx-a11y/click-events-have-key-events': 'off',
      'jsx-a11y/no-static-element-interactions': 'off',
      '@typescript-eslint/explicit-module-boundary-types': 'off',
      'import/prefer-default-export': 'off',
      'react/prop-types': 'off',
      'react/destructuring-assignment': 'off',
      'react/no-access-state-in-setstate': 'off',
      'react/require-default-props': 'off',
      'react/jsx-filename-extension': 'off',
      'react/static-property-placement': 'off',
      'react/button-has-type': 'off',
      'react/react-in-jsx-scope': 'off',
      'no-restricted-syntax': ['off', 'FunctionExpression', 'WithStatement', "BinaryExpression[operator='in, of']"],
      'jsx-a11y/label-has-associated-control': 'off',
      'import/no-extraneous-dependencies': [
        'error',
        { devDependencies: false, optionalDependencies: false, peerDependencies: false },
      ],
      'prettier/prettier': [
        'error',
        {
          endOfLine: 'auto',
        },
      ],
    },
  };
  