中心项目-人才库h5
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.eslintrc.js 454B

12345678910111213141516171819202122232425262728293031
  1. module.exports = {
  2. env: {
  3. browser: true,
  4. es2021: true
  5. },
  6. globals: {
  7. uni: true,
  8. wx: true
  9. },
  10. extends: [
  11. 'plugin:vue/vue3-essential',
  12. 'standard'
  13. ],
  14. overrides: [
  15. ],
  16. parserOptions: {
  17. ecmaVersion: 'latest',
  18. sourceType: 'module'
  19. },
  20. plugins: [
  21. 'vue'
  22. ],
  23. rules: {
  24. 'vue/multi-word-component-names': [
  25. 'error',
  26. {
  27. ignores: ['index'] // 需要忽略的组件名
  28. }
  29. ]
  30. }
  31. }