fix(lint): add inline lint suppression for polymorphic ref type

Added biome-ignore and eslint-disable-next-line comments inline on the
ref prop to properly suppress the any type warnings. Polymorphic component
requires any for proper ref forwarding across dynamic component types.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ajax Davis 2025-11-26 18:51:20 +10:00
parent cbed8f34cc
commit f451f169ad

View file

@ -43,9 +43,10 @@ export const Section = forwardRef<HTMLElement, SectionProps>(
) => {
const Component = as;
// biome-ignore lint/suspicious/noExplicitAny: Polymorphic component requires any for ref type
return (
<Component
// biome-ignore lint/suspicious/noExplicitAny: Polymorphic component requires any for ref type
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ref={ref as any}
className={cn(
sectionVariants({