text: module.exports = {
    extends: 'erb',
    rules: {
      'import/no-extraneous-dependencies': 'off',
      'import/no-unresolved': 'error',
      'react/react-in-jsx-scope': 'off',
      'import/prefer-default-export': 'off',
      'jsx-a11y/click-events-have-key-events': 'off',
      'jsx-a11y/no-static-element-interactions': 'off',
      'eslint-disable-next-line react/button-has-type': 'off',
      'no-console': 'off',
      'react-hooks/exhaustive-deps': 'off',
      '@typescript-eslint/no-use-before-define': 'off',
      '@typescript-eslint/no-unused-expressions': 'off',
      'react/button-has-type': 'off',
      'react/jsx-props-no-spreading','off'
    },
    parserOptions: {
      ecmaVersion: 2020,
      sourceType: 'module',
      project: './tsconfig.json',
      tsconfigRootDir: __dirname,
      createDefaultProgram: true,
    },
    settings: {
      'import/resolver': {
        // See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below
        node: {},
        webpack: {
          config: require.resolve('./.erb/configs/webpack.config.eslint.ts'),
        },
        typescript: {},
      },
      'import/parsers': {
        '@typescript-eslint/parser': ['.ts', '.tsx'],
      },
    },
  };
  