Skip to content

Type refactors (backend)? #20

Type refactors (backend)?

Type refactors (backend)? #20

Triggered via pull request August 3, 2024 10:25
@HotoRasHotoRas
opened #20
host
Status Success
Total duration 8m 19s
Artifacts

lint.yml

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

Annotations

27 errors and 10 warnings
typecheck (backend)
Cannot find namespace 'tf'.
typecheck (backend)
Property 'emojiNames' is missing in type '{}' but required in type '{ emojiNames: string[]; }'.
typecheck (backend)
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ emojiNames: string[]; }'.
typecheck (backend)
Type '{ emojiNames: string[]; }' is not assignable to type 'Record<string, string>'.
typecheck (backend)
Type '[]' is not assignable to type '[{ name: FindOperator<string>; host: string | null; }]'.
typecheck (backend)
Cannot find name 'FindOperator'.
typecheck (backend)
Type '[{ name: FindOperator<string>; host: string | null; }]' is not assignable to type 'FindOptionsWhere<MiEmoji> | FindOptionsWhere<MiEmoji>[] | undefined'.
typecheck (backend)
'err' is of type 'unknown'.
typecheck (backend)
Process completed with exit code 1.
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
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