text: module.exports = {
    parser: '@babel/eslint-parser',
    env: {
      browser: true,
      es6: true,
      node: true,
      jest: true,
    },
    plugins: ['prettier'],
    extends: ['eslint:recommended', 'prettier'],
    parserOptions: {
      sourceType: 'module',
    },
    rules: {
      indent: [2, 2, { SwitchCase: 1, VariableDeclarator: 1 }],
      'linebreak-style': ['error', 'unix'],
      quotes: ['error', 'single', { avoidEscape: true }],
      semi: ['error', 'always'],
    },
  };
  