Skip to content

Commit 9c96683

Browse files
committed
fix: correct lint issues
1 parent d6e2657 commit 9c96683

6 files changed

Lines changed: 32 additions & 15 deletions

File tree

app/components/AppHeader.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ const items = computed(() => [
3333
<template>
3434
<UHeader>
3535
<template #left>
36-
<NuxtLink to="/" class="flex items-center gap-2">
36+
<NuxtLink
37+
to="/"
38+
class="flex items-center gap-2"
39+
>
3740
<AppLogo />
3841
</NuxtLink>
3942
</template>

app/components/SocialLinks.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ defineProps<{
1414
target="_blank"
1515
:aria-label="social.label"
1616
>
17-
<UIcon :name="social.icon" class="w-10 h-10 shrink-0" :class="iconClass" />
17+
<UIcon
18+
:name="social.icon"
19+
class="w-10 h-10 shrink-0"
20+
:class="iconClass"
21+
/>
1822
</ULink>
1923
</template>

app/pages/about.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ useSeoMeta({
3636
</UPageHero>
3737
<UPage>
3838
<UPageBody prose>
39-
<ContentRenderer v-if="page" :value="page" />
39+
<ContentRenderer
40+
v-if="page"
41+
:value="page"
42+
/>
4043
<div class="flex justify-center mt-8">
4144
<UAvatar
4245
src="/images/profile.png"

app/pages/index.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ useSeoMeta({
6666

6767
<UPageSection>
6868
<div class="text-center">
69-
<h2 class="text-3xl sm:text-4xl font-bold text-gray-900 dark:text-white mb-8">You can find me on</h2>
69+
<h2 class="text-3xl sm:text-4xl font-bold text-gray-900 dark:text-white mb-8">
70+
You can find me on
71+
</h2>
7072
<div class="flex flex-wrap justify-center gap-8">
7173
<SocialLinks icon-class="text-white" />
7274
</div>
@@ -86,7 +88,12 @@ useSeoMeta({
8688
description: 'text-lg text-gray-600 dark:text-gray-300'
8789
}"
8890
>
89-
<NuxtLink v-if="section.image?.src" :to="section.image.to" :target="section.image.target" class="block">
91+
<NuxtLink
92+
v-if="section.image?.src"
93+
:to="section.image.to"
94+
:target="section.image.target"
95+
class="block"
96+
>
9097
<NuxtImg
9198
:src="section.image.src"
9299
:alt="section.image.alt"

content.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const createBaseSchema = () => z.object({
1010
description: z.string().nonempty()
1111
})
1212

13-
const createFeatureItemSchema = () => createBaseSchema().extend({
13+
const _createFeatureItemSchema = () => createBaseSchema().extend({
1414
icon: z.string().nonempty().editor({ input: 'icon' })
1515
})
1616

nuxt.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ export default defineNuxtConfig({
1111
'@nuxt/scripts'
1212
],
1313

14-
site: {
15-
url: 'https://techwatching.dev',
16-
name: 'Alexandre Nédélec'
14+
devtools: {
15+
enabled: true
1716
},
1817

1918
app: {
@@ -22,18 +21,19 @@ export default defineNuxtConfig({
2221
}
2322
},
2423

25-
devtools: {
26-
enabled: true
27-
},
28-
2924
css: ['~/assets/css/main.css'],
3025

31-
compatibilityDate: '2024-07-11',
26+
site: {
27+
url: 'https://techwatching.dev',
28+
name: 'Alexandre Nédélec'
29+
},
3230

3331
experimental: {
3432
viewTransition: true
3533
},
3634

35+
compatibilityDate: '2024-07-11',
36+
3737
nitro: {
3838
prerender: {
3939
routes: [
@@ -51,4 +51,4 @@ export default defineNuxtConfig({
5151
}
5252
}
5353
}
54-
})
54+
})

0 commit comments

Comments
 (0)