Skip to content

버그수정+ 타입체크 맞도록 수정 #13

버그수정+ 타입체크 맞도록 수정

버그수정+ 타입체크 맞도록 수정 #13

Triggered via pull request August 3, 2024 08:31
Status Success
Total duration 8m 37s
Artifacts

lint.yml

on: pull_request
pnpm_install
39s
pnpm_install
Matrix: lint
Matrix: typecheck
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 10 warnings
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L84
Expected no linebreak before this statement
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L125
Expected no linebreak before this statement
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L152
Unexpected whitespace between function name and paren
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L172
Unexpected whitespace between function name and paren
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L191
Expected space(s) after "if"
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L192
Expected no linebreak before this statement
lint (backend): packages/backend/src/core/NoteUpdateService.ts#L292
Newline required at end of file but not found
lint (backend): packages/backend/src/core/activitypub/models/ApNoteService.ts#L366
Expected no linebreak before this statement
lint (backend): packages/backend/src/core/activitypub/models/ApNoteService.ts#L371
Expected no linebreak before this statement
typecheck (backend)
Type '{ id: string; createdAt: Date; replyId: null; reply: null; renoteId: null; renote: null; threadId: null; text: null; name: null; cw: null; userId: string; user: null; localOnly: false; reactionAcceptance: null; ... 22 more ...; renoteUserHost: null; }' is missing the following properties from type 'MiNote': updatedAt, updatedAtHistory, noteEditHistory
typecheck (backend)
'driveFile' is possibly 'null'.
typecheck (backend)
'sensitiveDriveFile' is possibly 'null'.
typecheck (backend)
'driveFile' is possibly 'null'.
typecheck (backend)
'driveFile' is possibly 'null'.
typecheck (backend)
'driveFile' is possibly 'null'.
typecheck (backend)
Type '{ id: string; createdAt: Date; replyId: null; reply: null; renoteId: null; renote: null; threadId: null; text: null; name: null; cw: null; userId: string; user: null; localOnly: false; reactionAcceptance: null; ... 22 more ...; renoteUserHost: null; }' is missing the following properties from type 'MiNote': updatedAt, updatedAtHistory, noteEditHistory
typecheck (backend)
Process completed with exit code 2.
lint (frontend): packages/frontend/src/pages/admin/settings.vue#L219
More than 1 blank line not allowed
lint (frontend): packages/frontend/src/scripts/get-note-menu.ts#L24
More than 1 blank line not allowed
lint (frontend): packages/frontend/src/scripts/get-note-menu.ts#L219
A space is required after '{'
lint (frontend): packages/frontend/src/scripts/get-note-menu.ts#L219
A space is required before '}'
lint (frontend): packages/frontend/src/scripts/get-note-menu.ts#L232
A space is required after ','
lint (frontend)
Process completed with exit code 1.
lint (misskey-js): packages/misskey-js/src/acct.ts#L7
Assignment to function parameter 'acct'
lint (misskey-js): packages/misskey-js/src/api.ts#L17
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/api.ts#L32
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/api.types.ts#L30
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/api.types.ts#L35
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L151
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L152
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L173
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L177
Unexpected any. Specify a different type
lint (misskey-js): packages/misskey-js/src/consts.ts#L178
Unexpected any. Specify a different type