mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-09-10 22:14:48 -05:00
Add `vue/define-emits-declaration` ESLint rule to ensure consistency in `defineEmits` syntax across the components. It uses the new Vue 3.3+ more succinct syntax.
This commit is contained in:
committed by
GitHub
parent
11fbbf5158
commit
1d8385e1f0
@@ -102,6 +102,7 @@ module.exports = {
|
||||
'vue/prefer-true-attribute-shorthand': 'error',
|
||||
'vue/require-macro-variable-name': 'error',
|
||||
'vue/html-button-has-type': 'error',
|
||||
'vue/define-emits-declaration': ['error', 'type-literal'],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user