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">
const props = withDefaults(
withDefaults(
defineProps<{
text?: string
srOnly?: boolean

View file

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

View file

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

View file

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

View file

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

View file

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