refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)

This commit is contained in:
Ricardo Espinoza
2024-07-04 03:30:51 -04:00
committed by GitHub
parent 7a3c127b2c
commit cef177455e
96 changed files with 212 additions and 222 deletions

View File

@@ -16,12 +16,7 @@ module.exports = {
overrides: [
{
files: [
'**/*.test.ts',
'**/test/**/*.ts',
'**/__tests__/**/*.ts',
'**/*.stories.ts',
],
files: ['**/*.test.ts', '**/test/**/*.ts', '**/__tests__/**/*.ts', '**/*.stories.ts'],
rules: {
'import/no-extraneous-dependencies': 'off',
},
@@ -60,6 +55,7 @@ module.exports = {
'vue/prop-name-casing': ['error', 'camelCase'],
'vue/attribute-hyphenation': ['error', 'always'],
'import/no-extraneous-dependencies': 'warn',
'vue/define-emits-declaration': ['error', 'type-literal'],
// TODO: fix these
'@typescript-eslint/no-unsafe-call': 'off',