Skip to content

Initial web

Initial web #1

Triggered via pull request April 25, 2024 18:58
Status Failure
Total duration 42s
Billable time 1m
Artifacts

web-codestyle.yml

on: pull_request
check-web-codestyle
33s
check-web-codestyle
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
check-web-codestyle: binding/web/src/picollm.ts#L59
Missing return type on function
check-web-codestyle: binding/web/src/picollm.ts#L63
Missing return type on function
check-web-codestyle: binding/web/src/picollm.ts#L72
Assignment to function parameter 'tokenAddress'
check-web-codestyle: binding/web/src/picollm.ts#L431
'memoryBufferInt32' is never reassigned. Use 'const' instead
check-web-codestyle: binding/web/src/picollm.ts#L579
'numTopChoices' is already declared in the upper scope on line 373 column 7
check-web-codestyle: binding/web/src/picollm.ts#L585
'topChoices' is never reassigned. Use 'const' instead
check-web-codestyle: binding/web/src/picollm.ts#L590
'topChoiceTokenAddress' is never reassigned. Use 'const' instead
check-web-codestyle: binding/web/src/picollm.ts#L730
'tokens' is never reassigned. Use 'const' instead
check-web-codestyle: binding/web/src/picollm.ts#L813
'logits' is never reassigned. Use 'const' instead
check-web-codestyle: binding/web/src/picollm.ts#L908
Expected 'undefined' and instead saw 'void'
check-web-codestyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check-web-codestyle: binding/web/cypress.config.ts#L5
Unexpected 'todo' comment: 'TODO: add test vars'
check-web-codestyle: binding/web/src/picollm.ts#L408
Expected indentation of 16 spaces but found 18
check-web-codestyle: binding/web/src/picollm.ts#L409
Expected indentation of 16 spaces but found 18
check-web-codestyle: binding/web/src/picollm.ts#L410
Expected indentation of 14 spaces but found 16
check-web-codestyle: binding/web/src/picollm.ts#L908
'_' is defined but never used