Skip to content

Commit 7c43723

Browse files
committed
ci: eslint format
1 parent caf82c3 commit 7c43723

File tree

3 files changed

+108
-92
lines changed

3 files changed

+108
-92
lines changed

Diff for: package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
},
3535
"dependencies": {
3636
"@ant-design/icons-vue": "^7.0.1",
37-
"@nuxt/kit": "^3.8.1",
38-
"ant-design-vue": "^4.0.7"
37+
"@nuxt/kit": "^3.8.1"
38+
},
39+
"peerDependencies": {
40+
"ant-design-vue": ">=4"
3941
},
4042
"devDependencies": {
4143
"@nuxt/eslint-config": "^0.1.1",
@@ -46,6 +48,8 @@
4648
"changelogen": "^0.5.5",
4749
"eslint": "^8.53.0",
4850
"nuxt": "^3.8.1",
49-
"vitest": "^0.31.4"
51+
"vitest": "^0.31.4",
52+
"ant-design-vue": "^4.0.8",
53+
"typescript": "5.1.6"
5054
}
51-
}
55+
}

Diff for: playground/app.vue

+20-13
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,26 @@
5454
notification info
5555
</a-button>
5656
</a-space>
57-
<a-flex gap="middle" vertical>
58-
<a-radio-group v-model:value="value">
59-
<a-radio value="horizontal">horizontal</a-radio>
60-
<a-radio value="vertical">vertical</a-radio>
61-
</a-radio-group>
62-
<a-flex :vertical="value === 'vertical'">
63-
<div
64-
v-for="(item, index) in new Array(4)"
65-
:key="item"
66-
:style="{ ...baseStyle, background: `${index % 2 ? '#1677ff' : '#1677ffbf'}` }"
67-
/>
68-
</a-flex>
69-
</a-flex>
57+
<a-flex
58+
gap="middle"
59+
vertical
60+
>
61+
<a-radio-group v-model:value="value">
62+
<a-radio value="horizontal">
63+
horizontal
64+
</a-radio>
65+
<a-radio value="vertical">
66+
vertical
67+
</a-radio>
68+
</a-radio-group>
69+
<a-flex :vertical="value === 'vertical'">
70+
<div
71+
v-for="(item, index) in new Array(4)"
72+
:key="item"
73+
:style="{ ...baseStyle, background: `${index % 2 ? '#1677ff' : '#1677ffbf'}` }"
74+
/>
75+
</a-flex>
76+
</a-flex>
7077
</div>
7178
</a-config-provider>
7279
</template>

0 commit comments

Comments
 (0)