text: module.exports = {
    env: {
      browser: true,
      es6: true,
    },
    extends: [
      'eslint:recommended',
      'plugin:@typescript-eslint/eslint-recommended',
      'plugin:@typescript-eslint/recommended',
      'prettier',
    ],
    globals: {},
    parser: '@typescript-eslint/parser',
    parserOptions: {
      ecmaVersion: 2020,
      sourceType: 'module',
    },
    plugins: ['@typescript-eslint', 'simple-import-sort', 'import'],
    rules: {
      // IMPORT RULES
      'sort-imports': 'off',
      'simple-import-sort/imports': ['error', { groups: [['^\\u0000', '^@?\\w', '^[^.]', '^\\.']] }],
      'import/first': 'error',
      'import/newline-after-import': 'error',
      'import/no-duplicates': 'error',
  
      'no-extra-semi': 'off',
  
      eqeqeq: ['error', 'always'],
      'prefer-const': ['error'],
      camelcase: ['error', { properties: 'always' }],
  
      'no-unused-vars': 'off',
      '@typescript-eslint/no-unused-vars': 'error',
  
      '@typescript-eslint/array-type': ['error', { default: 'generic' }],
  
      '@typescript-eslint/explicit-function-return-type': 'off',
      '@typescript-eslint/no-explicit-any': 'off',
      '@typescript-eslint/consistent-type-assertions': 'off',
    },
    overrides: [
      {
        files: ['**/*.spec.ts'],
        rules: {
          '@typescript-eslint/no-use-before-define': 'off',
          '@typescript-eslint/no-empty-function': 'off',
          '@typescript-eslint/no-unused-vars': 'off',
          '@typescript-eslint/no-non-null-assertion': 'off',
        },
      },
    ],
  }
  