feat(vue): enforce order of define macros (#196)
This commit is contained in:
parent
4e77637da4
commit
f553c519f6
@ -52,7 +52,7 @@ module.exports = {
|
|||||||
'vue/component-options-name-casing': ['error', 'PascalCase'],
|
'vue/component-options-name-casing': ['error', 'PascalCase'],
|
||||||
'vue/custom-event-name-casing': ['error', 'camelCase'],
|
'vue/custom-event-name-casing': ['error', 'camelCase'],
|
||||||
'vue/define-macros-order': ['error', {
|
'vue/define-macros-order': ['error', {
|
||||||
order: ['defineProps', 'defineEmits'],
|
order: ['defineOptions', 'defineProps', 'defineEmits', 'defineSlots'],
|
||||||
}],
|
}],
|
||||||
'vue/html-comment-content-spacing': ['error', 'always', {
|
'vue/html-comment-content-spacing': ['error', 'always', {
|
||||||
exceptions: ['-'],
|
exceptions: ['-'],
|
||||||
|
Loading…
Reference in New Issue
Block a user