refactor: 更换 ESLint 配置为 @antfu/eslint-config

This commit is contained in:
2024-05-10 22:29:45 +08:00
parent 5101dd12d9
commit bfc8e42bad
148 changed files with 7314 additions and 5046 deletions

View File

@@ -21,13 +21,6 @@
<script setup lang="ts">
defineOptions({ name: 'GiOptionItem' })
interface Props {
icon?: string
label?: string
more?: boolean
active?: boolean
}
const props = withDefaults(defineProps<Props>(), {
icon: '',
label: '',
@@ -39,6 +32,13 @@ const emit = defineEmits<{
(e: 'click'): void
}>()
interface Props {
icon?: string
label?: string
more?: boolean
active?: boolean
}
const handleClick = () => {
emit('click')
}