diff --git a/.eslintrc.js b/.eslintrc.js index 4706877..0538f34 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,5 +20,7 @@ module.exports = { sourceType: 'module', }, plugins: ['prettier', 'vue', '@typescript-eslint'], - rules: {}, + rules: { + '@typescript-eslint/explicit-module-boundary-types': 0, + }, }; diff --git a/resources/assets/js/components/MetadataPreview.vue b/resources/assets/js/components/MetadataPreview.vue index 01362ec..d0f572e 100644 --- a/resources/assets/js/components/MetadataPreview.vue +++ b/resources/assets/js/components/MetadataPreview.vue @@ -82,12 +82,12 @@ export default class MetadataPreview extends Vue { tags: string[] = []; - created() { + created(): void { bus.$on('change-tag', (tags: string[]) => (this.tags = tags)); bus.$emit('resend-tag'); } - addTag(tag: string) { + addTag(tag: string): void { bus.$emit('add-tag', tag); }