Skip to content

refactor: 组合式api还挺好用的 #130

refactor: 组合式api还挺好用的

refactor: 组合式api还挺好用的 #130

Triggered via push October 26, 2023 02:57
Status Failure
Total duration 3m 27s
Artifacts

nodejs.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: config/default/logger.js#L5
Requires 'eslint-enable' directive for '@typescript-eslint/no-require-imports'
build: config/default/logger.js#L5
Requires 'eslint-enable' directive for '@typescript-eslint/no-var-requires'
build: packages/admin/src/components/attachment-card.vue#L25
Unsafe argument of type `any` assigned to a parameter of type `string | number | Date`
build: packages/admin/src/components/attachment-card.vue#L25
Unsafe member access .createdAt on an `any` value
build: packages/admin/src/components/attachment-card.vue#L30
Unsafe assignment of an `any` value
build: packages/admin/src/main.ts#L16
Unsafe argument of type `any` assigned to a parameter of type `Plugin<[]>`
build: packages/admin/src/pages/article/create.vue#L183
Unsafe call of an `any` typed value
build: packages/admin/src/pages/article/create.vue#L188
Unsafe call of an `any` typed value
build: packages/admin/src/pages/article/list.vue#L57
Unsafe call of an `any` typed value
build: packages/admin/src/pages/article/list.vue#L61
Unsafe assignment of an `any` value
build: packages/admin/src/components/attachment-card.vue#L21
Prop 'attachment' requires default value to be set
build: packages/admin/src/pages/article/create.vue#L158
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
build: packages/admin/src/pages/article/create.vue#L160
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
build: packages/admin/src/pages/article/create.vue#L166
No magic number: 200
build: packages/admin/src/pages/article/create.vue#L172
No magic number: 200
build: packages/admin/src/pages/article/create.vue#L195
No magic number: 201
build: packages/admin/src/pages/article/create.vue#L195
No magic number: 200
build: packages/admin/src/pages/article/create.vue#L200
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
build: packages/admin/src/pages/article/create.vue#L212
No magic number: 201
build: packages/admin/src/pages/article/create.vue#L212
No magic number: 200