Skip to content

Commit 5398550

Browse files
committed
style: lint format
1 parent e28168e commit 5398550

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ module.exports = {
8484
'vue/prop-name-casing': 'off',
8585
'vue/one-component-per-file': 'off',
8686
'vue/custom-event-name-casing': 'off',
87+
'vue/v-on-event-hyphenation': 'off',
8788
'vue/max-attributes-per-line': [
8889
2,
8990
{

components/card/demo/meta.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A Card that supports `cover`, `avatar`, `title` and `description`.
2424
src="https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"
2525
/>
2626
</template>
27-
<template #actions class="ant-card-actions">
27+
<template #actions>
2828
<setting-outlined key="setting" />
2929
<edit-outlined key="edit" />
3030
<ellipsis-outlined key="ellipsis" />

components/pagination/Pagination.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default defineComponent({
7575
</button>
7676
);
7777
let jumpPrevIcon = (
78-
<a rel='nofollow' class={`${pre}-item-link`}>
78+
<a rel="nofollow" class={`${pre}-item-link`}>
7979
{/* You can use transition effects in the container :) */}
8080
<div class={`${pre}-item-container`}>
8181
<DoubleLeftOutlined class={`${pre}-item-link-icon`} />
@@ -84,7 +84,7 @@ export default defineComponent({
8484
</a>
8585
);
8686
let jumpNextIcon = (
87-
<a rel='nofollow' class={`${pre}-item-link`}>
87+
<a rel="nofollow" class={`${pre}-item-link`}>
8888
{/* You can use transition effects in the container :) */}
8989
<div class={`${pre}-item-container`}>
9090
<DoubleRightOutlined class={`${pre}-item-link-icon`} />

components/select/demo/size.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,15 @@ The height of the input field for the select defaults to 32px. If size is set to
3939
placeholder="Please select"
4040
style="width: 200px"
4141
@popupScroll="popupScroll"
42-
>
43-
</a-select>
42+
></a-select>
4443
<a-select
4544
v-model:value="value3"
4645
:options="options"
4746
mode="tags"
4847
:size="size"
4948
placeholder="Please select"
5049
style="width: 200px"
51-
>
52-
</a-select>
50+
></a-select>
5351
</a-space>
5452
</template>
5553
<script lang="ts">

components/vc-picker/PickerPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,5 +609,5 @@ function PickerPanel<DateType>() {
609609
});
610610
}
611611
const InterPickerPanel = PickerPanel<any>();
612-
export default <DateType extends any>(props: MergedPickerPanelProps<DateType>): JSX.Element =>
612+
export default <DateType,>(props: MergedPickerPanelProps<DateType>): JSX.Element =>
613613
createVNode(InterPickerPanel, props);

0 commit comments

Comments
 (0)