Skip to content

Commit dcbcc46

Browse files
committed
feat: eslint 增加 unocss 配置
1 parent 874e3db commit dcbcc46

File tree

29 files changed

+251
-107
lines changed

29 files changed

+251
-107
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import antfu from '@antfu/eslint-config'
22

33
export default antfu(
44
{
5+
unocss: true,
56
ignores: [
67
'public',
78
'dist*',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"@iconify/json": "^2.2.158",
4747
"@iconify/vue": "^4.1.1",
4848
"@types/qs": "^6.9.10",
49+
"@unocss/eslint-plugin": "^0.58.0",
4950
"@vitejs/plugin-vue": "^4.5.2",
5051
"@vitejs/plugin-vue-jsx": "^3.1.0",
5152
"autoprefixer": "^10.4.16",

0 commit comments

Comments
 (0)