index.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import type { Linter } from 'eslint'
  2. declare const vue: {
  3. meta: any
  4. configs: {
  5. base: Linter.LegacyConfig
  6. essential: Linter.LegacyConfig
  7. 'no-layout-rules': Linter.LegacyConfig
  8. recommended: Linter.LegacyConfig
  9. 'strongly-recommended': Linter.LegacyConfig
  10. 'vue3-essential': Linter.LegacyConfig
  11. 'vue3-recommended': Linter.LegacyConfig
  12. 'vue3-strongly-recommended': Linter.LegacyConfig
  13. 'flat/base': Linter.FlatConfig[]
  14. 'flat/vue2-essential': Linter.FlatConfig[]
  15. 'flat/vue2-recommended': Linter.FlatConfig[]
  16. 'flat/vue2-strongly-recommended': Linter.FlatConfig[]
  17. 'flat/essential': Linter.FlatConfig[]
  18. 'flat/recommended': Linter.FlatConfig[]
  19. 'flat/strongly-recommended': Linter.FlatConfig[]
  20. }
  21. rules: Record<string, any>
  22. processors: {
  23. '.vue': any
  24. vue: any
  25. }
  26. environments: {
  27. /**
  28. * @deprecated
  29. */
  30. 'setup-compiler-macros': {
  31. globals: {
  32. defineProps: 'readonly'
  33. defineEmits: 'readonly'
  34. defineExpose: 'readonly'
  35. withDefaults: 'readonly'
  36. }
  37. }
  38. }
  39. }
  40. export = vue