.eslintrc.js 641 B

123456789101112131415161718192021222324252627
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: [
  7. 'plugin:vue/vue3-essential',
  8. '@vue/standard',
  9. '@vue/typescript/recommended'
  10. ],
  11. parserOptions: {
  12. ecmaVersion: 2020
  13. },
  14. rules: {
  15. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  16. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  17. quotes: 'off',
  18. semi: 'off',
  19. 'comma-dangle': 'off',
  20. "vue/multi-word-component-names": 'off',
  21. "no-undef": 'off',
  22. "vue/no-mutating-props": 'off',
  23. "no-multiple-empty-lines": 'off',
  24. "eol-last": "off",
  25. "no-trailing-spaces": "off",
  26. }
  27. }