disable @typescript-eslint/explicit-module-boundary-types
This commit is contained in:
parent
b908351a35
commit
b909035fe8
4
.eslintrc.js
vendored
4
.eslintrc.js
vendored
@ -20,5 +20,7 @@ module.exports = {
|
|||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
},
|
},
|
||||||
plugins: ['prettier', 'vue', '@typescript-eslint'],
|
plugins: ['prettier', 'vue', '@typescript-eslint'],
|
||||||
rules: {},
|
rules: {
|
||||||
|
'@typescript-eslint/explicit-module-boundary-types': 0,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
@ -82,12 +82,12 @@ export default class MetadataPreview extends Vue {
|
|||||||
|
|
||||||
tags: string[] = [];
|
tags: string[] = [];
|
||||||
|
|
||||||
created() {
|
created(): void {
|
||||||
bus.$on('change-tag', (tags: string[]) => (this.tags = tags));
|
bus.$on('change-tag', (tags: string[]) => (this.tags = tags));
|
||||||
bus.$emit('resend-tag');
|
bus.$emit('resend-tag');
|
||||||
}
|
}
|
||||||
|
|
||||||
addTag(tag: string) {
|
addTag(tag: string): void {
|
||||||
bus.$emit('add-tag', tag);
|
bus.$emit('add-tag', tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user