refactor(editor): Rename $emits to emits where we use defineEmits (no-changelog) (#9959)

This commit is contained in:
Ricardo Espinoza
2024-07-06 13:54:36 -04:00
committed by GitHub
parent d1821eba92
commit 1ae64ec4fb
18 changed files with 71 additions and 61 deletions

View File

@@ -56,6 +56,16 @@ module.exports = {
'vue/attribute-hyphenation': ['error', 'always'],
'import/no-extraneous-dependencies': 'warn',
'vue/define-emits-declaration': ['error', 'type-literal'],
'vue/require-macro-variable-name': [
'error',
{
defineProps: 'props',
defineEmits: 'emit',
defineSlots: 'slots',
useSlots: 'slots',
useAttrs: 'attrs',
},
],
// TODO: fix these
'@typescript-eslint/no-unsafe-call': 'off',