mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 14:56:17 -04:00
refactor: fixed more sonarcloud issues
This commit is contained in:
parent
a866ac6070
commit
b34eb4c1ac
12 changed files with 32 additions and 109 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue