Simplify rule definition

This commit is contained in:
Pascal Jufer
2023-09-28 15:51:25 +02:00
parent ed2d68606e
commit 5eec9fbf41

View File

@@ -56,13 +56,8 @@ const tsRules = {
};
const vueRules = {
// Same ordering of component tags everywhere
'vue/component-tags-order': [
'error',
{
order: ['script', 'template', 'style'],
},
],
// Enforce recommended ordering of component tags
'vue/component-tags-order': 'error',
// Require empty line between component tags
'vue/padding-line-between-blocks': 'error',
// Allow single word component names ("Example" instead of "MyExample")