Skip to content

fix(tutorial): typing functions in tutorial #674

fix(tutorial): typing functions in tutorial

fix(tutorial): typing functions in tutorial #674

Triggered via push August 15, 2023 05:44
Status Failure
Total duration 1m 32s
Artifacts

ci.yml

on: push
install-and-test
1m 21s
install-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
install-and-test: src/types/result.d.ts#L1
Replace `"@line/bot-sdk"` with `'@line/bot-sdk'`
install-and-test: src/types/result.d.ts#L4
Replace `,` with `;`
install-and-test: src/types/result.d.ts#L5
Insert `;`
install-and-test: src/types/result.d.ts#L6
Insert `;⏎`
install-and-test: src/webhook/handlers/tutorial.ts#L4
Replace `·FlexBubble,·FlexMessage,·Message,·QuickReplyItem,·WebhookEvent·` with `⏎··FlexBubble,⏎··FlexMessage,⏎··Message,⏎··QuickReplyItem,⏎··WebhookEvent,⏎`
install-and-test: src/webhook/handlers/tutorial.ts#L12
Replace `·{·[key:·string]:·string}` with `{·[key:·string]:·string·};`
install-and-test: src/webhook/handlers/tutorial.ts#L82
Replace `label:·string,·sessionId:·number,·postbackState:·string` with `⏎··label:·string,⏎··sessionId:·number,⏎··postbackState:·string⏎`
install-and-test: src/webhook/handlers/tutorial.ts#L286
'data' is never reassigned. Use 'const' instead
install-and-test: src/webhook/handlers/tutorial.ts#L286
'event' is never reassigned. Use 'const' instead
install-and-test: src/webhook/handlers/tutorial.ts#L286
'issuedAt' is never reassigned. Use 'const' instead
install-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
install-and-test: src/liff/components/ArticleCard.svelte#L104
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event
install-and-test: src/liff/components/Card.svelte#L24
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event
install-and-test: src/webhook/handlers/tutorial.ts#L4
'WebhookEvent' is defined but never used