text: module.exports = {
    root: true,
    env: {
      browser: true,
      node: true,
    },
    extends: [
      '@nuxtjs/eslint-config-typescript',
      'prettier',
      'plugin:prettier/recommended',
      'plugin:nuxt/recommended',
    ],
    plugins: ['prettier'],
    // add your custom rules here
    rules: {
      'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
      'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
      'prefer-template': ['error'],
      camelcase: 'off',
      'no-control-regex': 'off',
      'no-throw-literal': 'off',
      'prettier/prettier': ['error', { singleQuote: true, semi: false }],
    },
  }
  