mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
refactor: 更换 ESLint 配置为 @antfu/eslint-config
This commit is contained in:
@@ -6,7 +6,7 @@ export default function createAutoImport() {
|
||||
imports: [
|
||||
'vue',
|
||||
'vue-router',
|
||||
'pinia',
|
||||
'pinia'
|
||||
],
|
||||
dts: './src/types/auto-imports.d.ts'
|
||||
})
|
||||
|
@@ -6,6 +6,6 @@ export default function createComponents() {
|
||||
dirs: ['src/components'],
|
||||
extensions: ['vue', 'tsx'],
|
||||
// 配置文件生成位置
|
||||
dts: './src/types/components.d.ts',
|
||||
dts: './src/types/components.d.ts'
|
||||
})
|
||||
}
|
||||
|
@@ -8,6 +8,6 @@ export default function createSvgIcon(isBuild) {
|
||||
iconDirs: [path.resolve(process.cwd(), 'src/assets/icons')],
|
||||
// 指定 symbolId 格式
|
||||
symbolId: 'icon-[dir]-[name]',
|
||||
svgoOptions: isBuild,
|
||||
svgoOptions: isBuild
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user