refactor: biome lint part 4
This commit is contained in:
parent
9f58d025d0
commit
f1a0d5c9b5
10
biome.json
10
biome.json
@ -18,8 +18,8 @@
|
||||
"drizzle/**",
|
||||
"tailwind.config.ts",
|
||||
"src/components/ui/*.tsx",
|
||||
"src/components/nsui/*.tsx",
|
||||
"src/components/magicui/*.tsx",
|
||||
"src/components/tailark/*.tsx",
|
||||
"src/app/[[]locale]/preview/**",
|
||||
"src/db/schema.ts",
|
||||
"src/payment/types.ts",
|
||||
@ -50,6 +50,9 @@
|
||||
"complexity": {
|
||||
"noForEach": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"useExhaustiveDependencies": "off"
|
||||
},
|
||||
"style": {
|
||||
"useTemplate": "off",
|
||||
"noNonNullAssertion": "off",
|
||||
@ -57,7 +60,8 @@
|
||||
},
|
||||
"a11y": {
|
||||
"useValidAnchor": "off",
|
||||
"noSvgWithoutTitle": "off"
|
||||
"noSvgWithoutTitle": "off",
|
||||
"useKeyWithClickEvents": "off"
|
||||
}
|
||||
},
|
||||
"ignore": [
|
||||
@ -71,8 +75,8 @@
|
||||
"drizzle/**",
|
||||
"tailwind.config.ts",
|
||||
"src/components/ui/*.tsx",
|
||||
"src/components/nsui/*.tsx",
|
||||
"src/components/magicui/*.tsx",
|
||||
"src/components/tailark/*.tsx",
|
||||
"src/app/[[]locale]/preview/**",
|
||||
"src/db/schema.ts",
|
||||
"src/payment/types.ts",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { categories } from '@/components/nsui/blocks';
|
||||
import BlocksNav from '@/components/nsui/blocks-nav';
|
||||
import { categories } from '@/components/tailark/blocks';
|
||||
import BlocksNav from '@/components/tailark/blocks-nav';
|
||||
import type { PropsWithChildren } from 'react';
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import BlockPreview from '@/components/nsui/block-preview';
|
||||
import { blocks, categories } from '@/components/nsui/blocks';
|
||||
import BlockPreview from '@/components/tailark/block-preview';
|
||||
import { blocks, categories } from '@/components/tailark/blocks';
|
||||
import { constructMetadata } from '@/lib/metadata';
|
||||
import { getUrlWithLocale } from '@/lib/urls/urls';
|
||||
import type { Metadata } from 'next';
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import Link from 'next/link';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { HeroHeader } from '@/components/nsui/hero9-header';
|
||||
import { InfiniteSlider } from '@/components/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '@/components/motion/progressive-blur';
|
||||
import { HeroHeader } from '@/components/tailark/hero9-header';
|
||||
import { InfiniteSlider } from '@/components/tailark/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '@/components/tailark/motion/progressive-blur';
|
||||
import { ChevronRight } from 'lucide-react';
|
||||
|
||||
export default function HeroSection() {
|
||||
|
@ -2,9 +2,9 @@ import React from 'react';
|
||||
import Link from 'next/link';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Image from 'next/image';
|
||||
import { HeroHeader } from '@/components/nsui/hero8-header';
|
||||
import { InfiniteSlider } from '@/components/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '@/components/motion/progressive-blur';
|
||||
import { HeroHeader } from '@/components/tailark/hero8-header';
|
||||
import { InfiniteSlider } from '@/components/tailark/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '@/components/tailark/motion/progressive-blur';
|
||||
|
||||
export default function HeroSection() {
|
||||
return (
|
||||
|
@ -3,9 +3,9 @@ import Link from 'next/link';
|
||||
import { ArrowRight, ChevronRight } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Image from 'next/image';
|
||||
import { TextEffect } from '@/components/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/motion/animated-group';
|
||||
import { HeroHeader } from '@/components/nsui/hero5-header';
|
||||
import { TextEffect } from '@/components/tailark/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/tailark/motion/animated-group';
|
||||
import { HeroHeader } from '@/components/tailark/hero5-header';
|
||||
|
||||
const transitionVariants = {
|
||||
item: {
|
||||
|
@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { Mail, SendHorizonal } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { TextEffect } from '@/components/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/motion/animated-group';
|
||||
import { HeroHeader } from '@/components/nsui/hero5-header';
|
||||
import { LogoCloud } from '@/components/nsui/logo-cloud';
|
||||
import { TextEffect } from '@/components/tailark/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/tailark/motion/animated-group';
|
||||
import { HeroHeader } from '@/components/tailark/hero5-header';
|
||||
import { LogoCloud } from '@/components/tailark/logo-cloud';
|
||||
import Image from 'next/image';
|
||||
|
||||
const transitionVariants = {
|
||||
|
@ -3,9 +3,9 @@ import Link from 'next/link';
|
||||
import { ChevronRight } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Image from 'next/image';
|
||||
import { TextEffect } from '@/components/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/motion/animated-group';
|
||||
import { HeroHeader } from '@/components/nsui/hero6-header';
|
||||
import { TextEffect } from '@/components/tailark/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/tailark/motion/animated-group';
|
||||
import { HeroHeader } from '@/components/tailark/hero6-header';
|
||||
|
||||
const transitionVariants = {
|
||||
item: {
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
MagicUI,
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Link from 'next/link';
|
||||
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
GooglePaLM,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Logo } from '@/components/layout/logo';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
GooglePaLM,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Logo } from '@/components/layout/logo';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
@ -10,7 +10,7 @@ import {
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
GooglePaLM,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
|
||||
export default function IntegrationsSection() {
|
||||
return (
|
||||
|
@ -5,12 +5,12 @@ import {
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
GooglePaLM,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Logo } from '@/components/layout/logo';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Link from 'next/link';
|
||||
import { InfiniteSlider } from '@/components/motion/infinite-slider';
|
||||
import { InfiniteSlider } from '@/components/tailark/motion/infinite-slider';
|
||||
|
||||
export default function IntegrationsSection() {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Gemini, Replit, GooglePaLM } from '@/components/nsui/logos';
|
||||
import { Gemini, Replit, GooglePaLM } from '@/components/tailark/logos';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Link from 'next/link';
|
||||
import { Plus } from 'lucide-react';
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
GooglePaLM,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Logo } from '@/components/layout/logo';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
VSCodium,
|
||||
MediaWiki,
|
||||
GooglePaLM,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Logo } from '@/components/layout/logo';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { DevToolbar } from '@/components/nsui/toolbar';
|
||||
import { DevToolbar } from '@/components/tailark/toolbar';
|
||||
|
||||
export const dynamic = 'force-static';
|
||||
export const revalidate = 3600; // Cache for 1 hour
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { InfiniteSlider } from '@/components/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '@/components/motion/progressive-blur';
|
||||
import { InfiniteSlider } from '@/components/tailark/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '@/components/tailark/motion/progressive-blur';
|
||||
|
||||
export default function LogoCloud() {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { AnimatedGroup } from '@/components/motion/animated-group';
|
||||
import { TextEffect } from '@/components/motion/text-effect';
|
||||
import { AnimatedGroup } from '@/components/tailark/motion/animated-group';
|
||||
import { TextEffect } from '@/components/tailark/motion/text-effect';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { LocaleLink } from '@/i18n/navigation';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
MediaWiki,
|
||||
Replit,
|
||||
VSCodium,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { LocaleLink } from '@/i18n/navigation';
|
||||
|
@ -6,7 +6,7 @@ import {
|
||||
MediaWiki,
|
||||
Replit,
|
||||
VSCodium,
|
||||
} from '@/components/nsui/logos';
|
||||
} from '@/components/tailark/logos';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { LocaleLink } from '@/i18n/navigation';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { InfiniteSlider } from '@/components/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from '../motion/progressive-blur';
|
||||
import { InfiniteSlider } from '@/components/tailark/motion/infinite-slider';
|
||||
import { ProgressiveBlur } from './motion/progressive-blur';
|
||||
|
||||
export const LogoCloud = () => {
|
||||
return (
|
Loading…
Reference in New Issue
Block a user