mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Simplify rule definition
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user