.eslintrc.cjs 519 B

123456789101112131415161718192021
  1. /* eslint-env node */
  2. require('@rushstack/eslint-patch/modern-module-resolution')
  3. module.exports = {
  4. root: true,
  5. extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/eslint-config-prettier'],
  6. parserOptions: {
  7. ecmaVersion: 'latest'
  8. },
  9. rules: {
  10. 'vue/no-deprecated-slot-attribute': 'off',
  11. 'no-unused-vars': 'off'
  12. },
  13. globals: {
  14. wx: true,
  15. process: true,
  16. tidioChatApi: true,
  17. $: true
  18. },
  19. ignorePatterns: ['index.html', 'public/error.html', '/capacitor.config.ts']
  20. }