.eslintrc.js 394 B

1234567891011121314
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/typescript/recommended', 'plugin:prettier/recommended'],
  7. parserOptions: {
  8. ecmaVersion: 2020
  9. },
  10. rules: {
  11. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  12. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
  13. }
  14. }