feat: Replace eslint => oxlint + oxfmt
All checks were successful
Deployment / wordpress (push) Successful in 6s
Deployment / nuxt (push) Successful in 58s

This commit is contained in:
2026-02-01 21:53:40 -05:00
parent 58dbcdd25a
commit b89f02955d
60 changed files with 14937 additions and 5941 deletions

View File

@@ -2,7 +2,7 @@
import type { AcfLinkFragment } from "#graphql/operations";
import type { ButtonProps } from "@nuxt/ui";
type AcfLinkButtonProps = & Omit<ButtonProps, "to" | "target" | "href"> & {
type AcfLinkButtonProps = Omit<ButtonProps, "to" | "target" | "href"> & {
link?: AcfLinkFragment;
showLabel?: boolean;
};

View File

@@ -1,5 +1,9 @@
fragment AcfMedia on GroupAbstractMedia_Fields {
image { node { ... AcfImage } }
image {
node {
...AcfImage
}
}
aspectRatio
objectFit
}

View File

@@ -4,7 +4,14 @@ defineProps<{ social?: AcfSocialOutput }>();
<template>
<div v-if="social?.profiles" class="flex gap-1.5">
<a v-for="({ url, icon }, key) in social.profiles" :key="key" :href="url" target="_blank" rel="noopener noreferrer" class="flex">
<a
v-for="({ url, icon }, key) in social.profiles"
:key="key"
:href="url"
target="_blank"
rel="noopener noreferrer"
class="flex"
>
<UIcon :name="icon" />
</a>
</div>