chore: eslint
This commit is contained in:
parent
efbd6c7994
commit
61fec839e4
8 changed files with 10 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script setup>
|
||||
import { ChartTooltip } from '@/components/ui/chart'
|
||||
import { VisSingleContainer, VisTopoJSONMap, VisTopoJSONMapSelectors } from '@unovis/vue'
|
||||
import { ChartTooltip } from '@/components/ui/chart'
|
||||
|
||||
const id = inject('id')
|
||||
const time = inject('time')
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<script setup>
|
||||
import { DependencyType } from '@/components/ui/auto-form/interface'
|
||||
import { LinkSchema, nanoid } from '@@/schemas/link'
|
||||
import { toTypedSchema } from '@vee-validate/zod'
|
||||
import { Shuffle, Sparkles } from 'lucide-vue-next'
|
||||
import { useForm } from 'vee-validate'
|
||||
import { toast } from 'vue-sonner'
|
||||
import { z } from 'zod'
|
||||
import { DependencyType } from '@/components/ui/auto-form/interface'
|
||||
|
||||
const props = defineProps({
|
||||
link: {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script setup>
|
||||
import heroImg from '@/assets/images/hero.svg?raw'
|
||||
import { AreaChart } from 'lucide-vue-next'
|
||||
import { GitHubIcon } from 'vue3-simple-icons'
|
||||
import heroImg from '@/assets/images/hero.svg?raw'
|
||||
|
||||
const { title, description, github } = useAppConfig()
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts" setup>
|
||||
import { cn } from '@/lib/utils'
|
||||
import { computed, onMounted, ref, useSlots } from 'vue'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
class?: string
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { type ClassValue, clsx } from 'clsx'
|
||||
import type { ClassValue } from 'clsx'
|
||||
import { clsx } from 'clsx'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { type DateValue, fromAbsolute, toCalendarDate } from '@internationalized/date'
|
||||
import type { DateValue } from '@internationalized/date'
|
||||
import { fromAbsolute, toCalendarDate } from '@internationalized/date'
|
||||
|
||||
export function getTimeZone() {
|
||||
if (typeof Intl === 'undefined')
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ const locales: LocaleObject[] = [
|
|||
code: 'zh-TW',
|
||||
file: 'zh-TW.json',
|
||||
name: '繁體中文',
|
||||
emoji: '🇹🇼',
|
||||
emoji: '🇹🇼',
|
||||
},
|
||||
{
|
||||
code: 'fr-FR',
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import type { H3Event } from 'h3'
|
||||
import { getFlag } from '@/utils/flag'
|
||||
import { parseAcceptLanguage } from 'intl-parse-accept-language'
|
||||
import { UAParser } from 'ua-parser-js'
|
||||
import {
|
||||
|
|
@ -13,6 +12,7 @@ import {
|
|||
Vehicles,
|
||||
} from 'ua-parser-js/extensions'
|
||||
import { parseURL } from 'ufo'
|
||||
import { getFlag } from '@/utils/flag'
|
||||
|
||||
function toBlobNumber(blob: string) {
|
||||
return +blob.replace(/\D/g, '')
|
||||
|
|
|
|||
Loading…
Reference in a new issue