vue2-strongly-recommended.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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('./vue2-essential.js')
  8. module.exports = [
  9. ...config,
  10. {
  11. name: 'vue/vue2-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-prop-types': 'warn',
  32. 'vue/singleline-html-element-content-newline': 'warn',
  33. 'vue/v-bind-style': 'warn',
  34. 'vue/v-on-style': 'warn',
  35. 'vue/v-slot-style': 'warn'
  36. }
  37. }
  38. ]