text: module.exports = {
    extends: [
      'eslint:recommended',
      'plugin:prettier/recommended'
    ],
    plugins: ['prettier'],
    env: {
      node: true,
      es6: true
    },
    parserOptions: {
      ecmaVersion: 2019,
      sourceType: 'module'
    },
    rules: {
      'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
      'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
      'prettier/prettier': 'error'
    }
  }
  