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

@@ -11,12 +11,6 @@
<script lang="ts" setup>
defineOptions({ name: 'GiCellAvatar' })
interface Props {
avatar: string
name: string
isLink?: boolean
}
const props = withDefaults(defineProps<Props>(), {
avatar: '',
name: '',
@@ -26,6 +20,12 @@ const props = withDefaults(defineProps<Props>(), {
const emit = defineEmits<{
(e: 'click'): void
}>()
interface Props {
avatar: string
name: string
isLink?: boolean
}
</script>
<style lang="scss" scoped></style>