disable @typescript-eslint/explicit-module-boundary-types

This commit is contained in:
hina 2020-06-06 18:11:49 +09:00
parent b908351a35
commit b909035fe8
No known key found for this signature in database
GPG Key ID: B666B2A137443F76
2 changed files with 5 additions and 3 deletions

4
.eslintrc.js vendored
View File

@ -20,5 +20,7 @@ module.exports = {
sourceType: 'module',
},
plugins: ['prettier', 'vue', '@typescript-eslint'],
rules: {},
rules: {
'@typescript-eslint/explicit-module-boundary-types': 0,
},
};

View File

@ -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);
}