lint: misc fixes

This commit is contained in:
axolotle 2023-11-14 19:17:04 +01:00
parent 95e75fe117
commit 1741544897
6 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
const props = withDefaults( withDefaults(
defineProps<{ defineProps<{
text?: string text?: string
srOnly?: boolean srOnly?: boolean

View file

@ -29,6 +29,7 @@ const validationListeners = {
</script> </script>
<template> <template>
<!-- eslint-disable-next-line vuejs-accessibility/form-control-has-label -->
<input <input
:id="name" :id="name"
:value="value" :value="value"

View file

@ -7,7 +7,7 @@ const props = defineProps<{
inputLabel: string inputLabel: string
buttonLabel: string buttonLabel: string
type: HTMLInputElement['type'] type: HTMLInputElement['type']
placeholder?: string, placeholder?: string
}>() }>()
const group: Ref<HTMLElement | null> = ref(null) const group: Ref<HTMLElement | null> = ref(null)

View file

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
const props = withDefaults( withDefaults(
defineProps<{ defineProps<{
name: string name: string
size?: string size?: string

View file

@ -6,7 +6,7 @@ const head = useLocaleHead({
addSeoAttributes: true, addSeoAttributes: true,
}) })
const props = defineProps<{ defineProps<{
error: H3Error error: H3Error
}>() }>()
</script> </script>

View file

@ -99,6 +99,7 @@ async function logout() {
<!-- FIXME temp --> <!-- FIXME temp -->
<div class="ml-auto mr-4"> <div class="ml-auto mr-4">
<!-- eslint-disable-next-line vuejs-accessibility/label-has-for -->
<label class="mr-4">theme:</label> <label class="mr-4">theme:</label>
<select <select
v-model="colorMode.preference" v-model="colorMode.preference"