.eslintrc.js 563 B

1234567891011121314151617181920212223
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/prettier'],
  7. parserOptions: {
  8. parser: 'babel-eslint'
  9. },
  10. rules: {
  11. 'no-console': 'off',
  12. 'no-debugger': 'off',
  13. 'no-unused-vars': 'off',
  14. 'no-empty': ['error', { allowEmptyCatch: true }],
  15. 'vue/custom-event-name-casing': 0,
  16. 'vue/no-parsing-error': ['error']
  17. },
  18. globals: {
  19. wx: true,
  20. SyncStatus: true,
  21. InstallMode: true
  22. }
  23. };