Skip to content

Commit

Permalink
feat(vue): enforce order of define macros (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Jun 6, 2023
1 parent 4e77637 commit f553c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-vue/index.js
Expand Up @@ -52,7 +52,7 @@ module.exports = {
'vue/component-options-name-casing': ['error', 'PascalCase'],
'vue/custom-event-name-casing': ['error', 'camelCase'],
'vue/define-macros-order': ['error', {
order: ['defineProps', 'defineEmits'],
order: ['defineOptions', 'defineProps', 'defineEmits', 'defineSlots'],
}],
'vue/html-comment-content-spacing': ['error', 'always', {
exceptions: ['-'],
Expand Down

0 comments on commit f553c51

Please sign in to comment.