From 6dd2f3cee2d158e8b4587098a5587c2ba438b1c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Fri, 6 Sep 2024 23:35:40 +0800 Subject: [PATCH] chore: fix lint --- src/configs/special-cases.ts | 2 +- src/configs/unicorn.ts | 2 +- src/presets.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configs/special-cases.ts b/src/configs/special-cases.ts index 27036cd..dfbe83a 100644 --- a/src/configs/special-cases.ts +++ b/src/configs/special-cases.ts @@ -1,6 +1,6 @@ import { GLOB_MARKDOWN, GLOB_SRC, GLOB_SRC_EXT } from '../globs' import { pluginImport } from '../plugins' -import { Config } from '../types' +import type { Config } from '../types' export const specialCases: Config[] = [ { diff --git a/src/configs/unicorn.ts b/src/configs/unicorn.ts index 72327a1..66530a5 100644 --- a/src/configs/unicorn.ts +++ b/src/configs/unicorn.ts @@ -1,5 +1,5 @@ import { pluginUnicorn } from '../plugins' -import { Config } from '../types' +import type { Config } from '../types' export const unicorn: Config[] = [ { diff --git a/src/presets.ts b/src/presets.ts index 2a7fe1e..0c98b35 100644 --- a/src/presets.ts +++ b/src/presets.ts @@ -13,12 +13,12 @@ import { sortImports, sortPackageJson, sortTsconfig, + specialCases, typescript, unicorn, unocss, vue, yml, - specialCases, } from './configs' import { hasUnocss, hasVue } from './env' import type { Config } from './types'