Skip to content

Commit 9cfc5db

Browse files
committed
fix: linter warnings
1 parent 1b31379 commit 9cfc5db

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

components/Markdown.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<template>
2+
<!-- eslint-disable vue/no-v-html -->
23
<div class="prose" v-html="sanitizedDescription" />
34
</template>
45

components/form/FormInputText.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
<template>
22
<div class="flex flex-col items-center">
3-
<label class="label w-full">
4-
<span class="label-text self-start">{{ props.label }}</span>
3+
<label class="w-full label">
4+
<span class="self-start label-text">{{ props.label }}</span>
55
</label>
66
<input
77
:type="props.type"
88
:placeholder="props.placeholder"
99
:value="modelValue"
10-
class="input input-bordered border-2 rounded-2xl w-full"
10+
class="w-full border-2 input input-bordered rounded-2xl"
1111
:required="props.required"
1212
@input="$emit('update:modelValue', $event.target.value)"
1313
>
1414
</div>
1515
</template>
1616

1717
<script setup lang="ts">
18+
import { defineProps, defineEmits } from "vue";
19+
20+
const emit = defineEmits(["update:modelValue"]);
21+
1822
const props = defineProps({
1923
type: {
2024
type: String,

pages/torrents.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@
6060
</template>
6161

6262
<script setup lang="ts">
63-
import { useRuntimeConfig } from "nuxt/app";
63+
import { useRuntimeConfig, useRoute, useRouter } from "nuxt/app";
6464
import { TorrentCompact } from "torrust-index-types-lib";
6565
import { Ref } from "vue";
66-
import { useRoute, useRouter } from "#app";
6766
import { computed, onMounted, ref, useTags, watch } from "#imports";
6867
import { useCategories, useRestApi } from "~/composables/states";
6968
import { TorrustSelectOption } from "~/components/TorrustSelect.vue";

project-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Nuxt
2+
proxied

0 commit comments

Comments
 (0)