Skip to content

Commit

Permalink
feat: enable vue/require-macro-variable-name rule
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Sep 27, 2024
1 parent d5d26d5 commit c22c43b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/configs/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ export async function vue(
],
'vue/prefer-import-from-vue': 'error',
'vue/require-explicit-emits': 'error',
'vue/require-macro-variable-name': ['error', {
defineEmits: 'emit',
defineProps: 'props',
defineSlots: 'slots',
useAttrs: 'attrs',
useSlots: 'slots',
}],
'vue/v-bind-style': ['error', 'shorthand'],
'vue/v-on-handler-style': [
'error',
Expand Down

0 comments on commit c22c43b

Please sign in to comment.