base.js 811 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * IMPORTANT!
  3. * This file has been automatically generated,
  4. * in order to update its content execute "npm run update"
  5. */
  6. const globals = require('globals')
  7. module.exports = [
  8. {
  9. name: 'vue/base/setup',
  10. plugins: {
  11. get vue() {
  12. return require('../../index')
  13. }
  14. },
  15. languageOptions: {
  16. sourceType: 'module',
  17. globals: globals.browser
  18. }
  19. },
  20. {
  21. name: 'vue/base/setup-for-vue',
  22. files: ['*.vue', '**/*.vue'],
  23. plugins: {
  24. get vue() {
  25. return require('../../index')
  26. }
  27. },
  28. languageOptions: {
  29. parser: require('vue-eslint-parser'),
  30. sourceType: 'module',
  31. globals: globals.browser
  32. },
  33. rules: {
  34. 'vue/comment-directive': 'error',
  35. 'vue/jsx-uses-vars': 'error'
  36. },
  37. processor: 'vue/vue'
  38. }
  39. ]