Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 31, 2024
1 parent 41d40fd commit d242f97
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/person-list.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { getPersonKey } from '../utils/episode'
// eslint-disable-next-line no-duplicate-imports, @typescript-eslint/consistent-type-imports
// eslint-disable-next-line no-duplicate-imports
import type { Person } from '../utils/episode'
const { persons } = defineProps<{
Expand Down
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { isClient } from '@vueuse/core'
import { ViteSSG } from 'vite-ssg'
import { h } from 'vue'
import { isClient } from '@vueuse/core'
import App from './App.vue'
import { getAllContributors } from './utils/contributor'
import { getAllEpisode } from './utils/episode'
import { detectFont } from './utils/font'
import { getAllContributors } from './utils/contributor'

import type { RouteRecordRaw } from 'vue-router'

import 'github-markdown-css'
import '@unocss/reset/tailwind.css'
import 'uno.css'
import 'github-markdown-css'
import './styles/global.css'

const routes: RouteRecordRaw[] = [
Expand Down
2 changes: 1 addition & 1 deletion src/views/not-found.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { isClient } from '@vueuse/core'
import { useHead } from '@unhead/vue'
import { isClient } from '@vueuse/core'
const path = isClient ? location.pathname : ''
Expand Down
2 changes: 1 addition & 1 deletion unocss.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss'
import transformerDirective from '@unocss/transformer-directives'
import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss'

export default defineConfig({
presets: [presetUno(), presetAttributify(), presetIcons()],
Expand Down
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import path from 'node:path'
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite'
import AutoImport from 'unplugin-auto-import/vite'
import UnoCSS from 'unocss/vite'
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import Markdown from 'unplugin-vue-markdown/vite'
import { defineConfig } from 'vite'
import Inspect from 'vite-plugin-inspect'
import { VitePWA } from 'vite-plugin-pwa'
import VueDevTools from 'vite-plugin-vue-devtools'
Expand Down

0 comments on commit d242f97

Please sign in to comment.