@@ -48,6 +48,8 @@ const vueBaseRules = {
4848 'vue/max-attributes-per-line' : 'off' ,
4949 'vue/no-v-html' : 'off' ,
5050 'vue/multi-word-component-names' : 'off' ,
51+ 'vue/require-prop-types' : 'off' ,
52+
5153 'vue/html-self-closing' : [
5254 'error' ,
5355 {
@@ -60,6 +62,28 @@ const vueBaseRules = {
6062 math : 'always' ,
6163 } ,
6264 ] ,
65+ 'vue/component-tags-order' : [
66+ 'error' ,
67+ { order : [ 'script' , 'template' , 'style' ] } ,
68+ ] ,
69+ 'vue/custom-event-name-casing' : [ 'error' , 'camelCase' ] ,
70+ 'vue/no-useless-v-bind' : 'error' ,
71+ 'vue/no-unused-refs' : 'error' ,
72+ 'vue/padding-line-between-blocks' : [ 'error' , 'always' ] ,
73+
74+ 'vue/prefer-template' : 'error' ,
75+ 'vue/eqeqeq' : [ 'error' , 'smart' ] ,
76+ 'vue/no-constant-condition' : 'warn' ,
77+ 'vue/object-shorthand' : [
78+ 'error' ,
79+ 'always' ,
80+ {
81+ ignoreConstructors : false ,
82+ avoidQuotes : true ,
83+ } ,
84+ ] ,
85+ 'vue/no-loss-of-precision' : 'error' ,
86+ 'vue/no-empty-pattern' : 'error' ,
6387}
6488
6589/** @type {import('eslint-define-config').Rules } */
0 commit comments