text: module.exports = {
    env: {
      browser: true,
      es2021: true,
      jest: true,
    },
    globals: {
      Atomics: 'readonly',
      SharedArrayBuffer: 'readonly',
    },
    ignorePatterns: [
      'build',
      '*.config.js',
      'node_modules',
      '*.test.tsx',
      '*.test.ts',
    ],
    extends: ['airbnb-base', 'plugin:sonarjs/recommended', 'next', 'prettier'],
    parser: '@typescript-eslint/parser',
    parserOptions: {
      ecmaVersion: 12,
      sourceType: 'module',
    },
    plugins: ['@typescript-eslint'],
    rules: {
      '@typescript-eslint/no-unused-vars': ['warn'],
      'arrow-body-style': 'warn',
      'comma-dangle': 'off',
      'function-paren-newline': 'off',
      'implicit-arrow-linebreak': 'off',
      'import/extensions': 'off',
      'import/no-extraneous-dependencies': 'off',
      'import/prefer-default-export': 'off',
      'no-confusing-arrow': 'off',
      'no-nested-ternary': 'off',
      'no-undef': 'off',
      'no-unused-vars': 'off',
      'object-curly-newline': 'off',
      'operator-linebreak': 'off',
      'spaced-comment': 'off',
      quotes: 'off',
    },
  };
  