vue3-strongly-recommended.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * IMPORTANT!
  3. * This file has been automatically generated,
  4. * in order to update its content execute "npm run update"
  5. */
  6. 'use strict'
  7. const config = require('./vue3-essential.js')
  8. module.exports = [
  9. ...config,
  10. {
  11. name: 'vue/strongly-recommended/rules',
  12. rules: {
  13. 'vue/attribute-hyphenation': 'warn',
  14. 'vue/component-definition-name-casing': 'warn',
  15. 'vue/first-attribute-linebreak': 'warn',
  16. 'vue/html-closing-bracket-newline': 'warn',
  17. 'vue/html-closing-bracket-spacing': 'warn',
  18. 'vue/html-end-tags': 'warn',
  19. 'vue/html-indent': 'warn',
  20. 'vue/html-quotes': 'warn',
  21. 'vue/html-self-closing': 'warn',
  22. 'vue/max-attributes-per-line': 'warn',
  23. 'vue/multiline-html-element-content-newline': 'warn',
  24. 'vue/mustache-interpolation-spacing': 'warn',
  25. 'vue/no-multi-spaces': 'warn',
  26. 'vue/no-spaces-around-equal-signs-in-attribute': 'warn',
  27. 'vue/no-template-shadow': 'warn',
  28. 'vue/one-component-per-file': 'warn',
  29. 'vue/prop-name-casing': 'warn',
  30. 'vue/require-default-prop': 'warn',
  31. 'vue/require-explicit-emits': 'warn',
  32. 'vue/require-prop-types': 'warn',
  33. 'vue/singleline-html-element-content-newline': 'warn',
  34. 'vue/v-bind-style': 'warn',
  35. 'vue/v-on-event-hyphenation': [
  36. 'warn',
  37. 'always',
  38. {
  39. autofix: true
  40. }
  41. ],
  42. 'vue/v-on-style': 'warn',
  43. 'vue/v-slot-style': 'warn'
  44. }
  45. }
  46. ]