vue3-essential.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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('./base.js')
  8. module.exports = [
  9. ...config,
  10. {
  11. name: 'vue/essential/rules',
  12. rules: {
  13. 'vue/multi-word-component-names': 'error',
  14. 'vue/no-arrow-functions-in-watch': 'error',
  15. 'vue/no-async-in-computed-properties': 'error',
  16. 'vue/no-child-content': 'error',
  17. 'vue/no-computed-properties-in-data': 'error',
  18. 'vue/no-deprecated-data-object-declaration': 'error',
  19. 'vue/no-deprecated-destroyed-lifecycle': 'error',
  20. 'vue/no-deprecated-dollar-listeners-api': 'error',
  21. 'vue/no-deprecated-dollar-scopedslots-api': 'error',
  22. 'vue/no-deprecated-events-api': 'error',
  23. 'vue/no-deprecated-filter': 'error',
  24. 'vue/no-deprecated-functional-template': 'error',
  25. 'vue/no-deprecated-html-element-is': 'error',
  26. 'vue/no-deprecated-inline-template': 'error',
  27. 'vue/no-deprecated-props-default-this': 'error',
  28. 'vue/no-deprecated-router-link-tag-prop': 'error',
  29. 'vue/no-deprecated-scope-attribute': 'error',
  30. 'vue/no-deprecated-slot-attribute': 'error',
  31. 'vue/no-deprecated-slot-scope-attribute': 'error',
  32. 'vue/no-deprecated-v-bind-sync': 'error',
  33. 'vue/no-deprecated-v-is': 'error',
  34. 'vue/no-deprecated-v-on-native-modifier': 'error',
  35. 'vue/no-deprecated-v-on-number-modifiers': 'error',
  36. 'vue/no-deprecated-vue-config-keycodes': 'error',
  37. 'vue/no-dupe-keys': 'error',
  38. 'vue/no-dupe-v-else-if': 'error',
  39. 'vue/no-duplicate-attributes': 'error',
  40. 'vue/no-export-in-script-setup': 'error',
  41. 'vue/no-expose-after-await': 'error',
  42. 'vue/no-lifecycle-after-await': 'error',
  43. 'vue/no-mutating-props': 'error',
  44. 'vue/no-parsing-error': 'error',
  45. 'vue/no-ref-as-operand': 'error',
  46. 'vue/no-reserved-component-names': 'error',
  47. 'vue/no-reserved-keys': 'error',
  48. 'vue/no-reserved-props': 'error',
  49. 'vue/no-shared-component-data': 'error',
  50. 'vue/no-side-effects-in-computed-properties': 'error',
  51. 'vue/no-template-key': 'error',
  52. 'vue/no-textarea-mustache': 'error',
  53. 'vue/no-unused-components': 'error',
  54. 'vue/no-unused-vars': 'error',
  55. 'vue/no-use-computed-property-like-method': 'error',
  56. 'vue/no-use-v-if-with-v-for': 'error',
  57. 'vue/no-useless-template-attributes': 'error',
  58. 'vue/no-v-for-template-key-on-child': 'error',
  59. 'vue/no-v-text-v-html-on-component': 'error',
  60. 'vue/no-watch-after-await': 'error',
  61. 'vue/prefer-import-from-vue': 'error',
  62. 'vue/require-component-is': 'error',
  63. 'vue/require-prop-type-constructor': 'error',
  64. 'vue/require-render-return': 'error',
  65. 'vue/require-slots-as-functions': 'error',
  66. 'vue/require-toggle-inside-transition': 'error',
  67. 'vue/require-v-for-key': 'error',
  68. 'vue/require-valid-default-prop': 'error',
  69. 'vue/return-in-computed-property': 'error',
  70. 'vue/return-in-emits-validator': 'error',
  71. 'vue/use-v-on-exact': 'error',
  72. 'vue/valid-attribute-name': 'error',
  73. 'vue/valid-define-emits': 'error',
  74. 'vue/valid-define-props': 'error',
  75. 'vue/valid-next-tick': 'error',
  76. 'vue/valid-template-root': 'error',
  77. 'vue/valid-v-bind': 'error',
  78. 'vue/valid-v-cloak': 'error',
  79. 'vue/valid-v-else-if': 'error',
  80. 'vue/valid-v-else': 'error',
  81. 'vue/valid-v-for': 'error',
  82. 'vue/valid-v-html': 'error',
  83. 'vue/valid-v-if': 'error',
  84. 'vue/valid-v-is': 'error',
  85. 'vue/valid-v-memo': 'error',
  86. 'vue/valid-v-model': 'error',
  87. 'vue/valid-v-on': 'error',
  88. 'vue/valid-v-once': 'error',
  89. 'vue/valid-v-pre': 'error',
  90. 'vue/valid-v-show': 'error',
  91. 'vue/valid-v-slot': 'error',
  92. 'vue/valid-v-text': 'error'
  93. }
  94. }
  95. ]