.eslintrc.cjs 537 B

123456789101112131415161718192021222324
  1. /* eslint-env node */
  2. require('@rushstack/eslint-patch/modern-module-resolution')
  3. module.exports = {
  4. root: true,
  5. extends: [
  6. 'plugin:vue/vue3-essential',
  7. 'eslint:recommended',
  8. '@vue/eslint-config-typescript/recommended',
  9. '@vue/eslint-config-prettier'
  10. ],
  11. parserOptions: {
  12. ecmaVersion: 'latest'
  13. },
  14. rules: {
  15. 'no-undef': 'off',
  16. '@typescript-eslint/no-explicit-any': 'off',
  17. '@typescript-eslint/ban-types': 'off',
  18. 'vue/multi-word-component-names': 'off'
  19. },
  20. globals: {
  21. BMapGL: true
  22. }
  23. }