chore: enforce block-order in components

script before template before style.
This commit is contained in:
Matthias 2024-07-30 06:23:27 +02:00
parent 89181fdc71
commit fa4a95fdc2

View File

@ -61,6 +61,12 @@ export default [
], ],
'vue/define-emits-declaration': ['error'], 'vue/define-emits-declaration': ['error'],
'vue/enforce-style-attribute': ['error'], 'vue/enforce-style-attribute': ['error'],
'vue/block-order': [
'error',
{
order: ['script', 'template', 'style'],
},
],
}, },
}, },
]; ];