refactor: fixed more sonarcloud issues

This commit is contained in:
Corentin Thomasset 2021-06-01 00:07:04 +02:00
parent a866ac6070
commit b34eb4c1ac
No known key found for this signature in database
GPG key ID: DBD997E935996158
12 changed files with 32 additions and 109 deletions

View file

@ -1,18 +1,12 @@
<script lang="ts">
import {Component, mixins} from 'nuxt-property-decorator'
import ToolWrapper from '~/components/ToolWrapper.vue'
import type {ToolConfig} from '~/types/ToolConfig'
import {ToolConfigMixin} from '~/mixins/tool-config.mixin'
@Component({
components: {ToolWrapper}
})
export default class Tool extends mixins(ToolConfigMixin) {
config(): ToolConfig {
return {
title: 'ADD A <tool> TAG'
} as unknown as ToolConfig
};
public head() {
const {title, description, keywords} = this.$toolConfig