Skip to content

[components] 新增 InfiniteScroll 组件 #847

[components] 新增 InfiniteScroll 组件

[components] 新增 InfiniteScroll 组件 #847

Triggered via push February 26, 2025 07:12
Status Failure
Total duration 1m 48s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
test: packages/components/src/infinite-scroll/src/index.vue#L2
Attribute "ref" should go before "class"
test: packages/components/src/infinite-scroll/src/index.vue#L16
Expected "@vueuse/core" (external) to come before "./types" (sibling)
test: packages/components/src/infinite-scroll/src/index.vue#L17
Expected "computed" to come before "shallowRef"
test: packages/components/src/infinite-scroll/src/index.vue#L26
defineSlots should be the first statement in `<script setup>` (after any potential import statements or type definitions)
test: packages/components/src/infinite-scroll/src/index.vue#L26
'slots' is assigned a value but never used. Allowed unused vars must match /^_/u
test: packages/components/src/infinite-scroll/src/index.vue#L47
Closing curly brace appears on the same line as the subsequent block
test: packages/components/src/infinite-scroll/src/types.ts#L72
Newline required at end of file but not found
test: packages/components/src/infinite-scroll/src/index.vue#L3
Attribute ':isLoading' must be hyphenated
test: packages/components/src/infinite-scroll/src/index.vue#L3
Attribute ':isFinished' must be hyphenated
test: packages/components/src/infinite-scroll/src/index.vue#L3
Attribute ':isEmpty' must be hyphenated
test: packages/components/src/infinite-scroll/src/index.vue#L5
Attribute ':isLoading' must be hyphenated
test: packages/components/src/infinite-scroll/src/index.vue#L5
Attribute ':isFinished' must be hyphenated
test: packages/components/src/infinite-scroll/src/index.vue#L5
Attribute ':isEmpty' must be hyphenated