style: prevent use of .ts, .js import

This commit is contained in:
Neko Ayaka
2026-08-05 20:34:14 +08:00
parent f2d411ea22
commit 774b2daf03
25 changed files with 499 additions and 42 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { ButtonItem } from '../theme/config.ts'
import type { ButtonItem } from '../theme/config'
defineProps<{
item: ButtonItem
+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { ButtonItem } from '../theme/config.ts'
import type { ButtonItem } from '../theme/config'
import HomeButton from './HomeButton.vue'
+2 -2
View File
@@ -1,6 +1,6 @@
import type { DefaultTheme } from 'vitepress'
import type { ThemeConfig } from './theme/config.ts'
import type { ThemeConfig } from './theme/config'
import { join, posix, resolve } from 'node:path'
import { env } from 'node:process'
@@ -15,7 +15,7 @@ import { tasklist } from '@mdit/plugin-tasklist'
import { defineConfig, postcssIsolateStyles } from 'vitepress'
import { version } from '../../package.json'
import { webLive } from './constants.ts'
import { webLive } from './constants'
import { teamMembers } from './contributors'
import {
discord,