Skip to content

Separate out code linting into its own workflow #1

Separate out code linting into its own workflow

Separate out code linting into its own workflow #1

Triggered via pull request September 24, 2024 22:16
Status Failure
Total duration 2m 28s
Artifacts

format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: src/webauth/utils.ts#L66
Default parameters should be last
build: src/webauth/utils.ts#L320
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
build: src/webauth/utils.ts#L345
'verifyTxSignedBy' was used before it was defined
build: src/webauth/utils.ts#L454
'verifyChallengeTxSigners' was used before it was defined
build: src/webauth/utils.ts#L464
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
build: src/webauth/utils.ts#L583
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
build: src/webauth/utils.ts#L590
Unexpected use of continue statement
build: src/webauth/utils.ts#L595
Unexpected use of continue statement
build: src/webauth/utils.ts#L609
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
build: src/webauth/utils.ts#L632
'gatherTxSigners' was used before it was defined
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/rpc/server.ts#L496
Async method 'getTransactions' has no 'await' expression
build: src/rpc/server.ts#L511
Async method '_getTransactions' has no 'await' expression
build: src/webauth/utils.ts#L25
The type 'WebAuth' is undefined
build: src/webauth/utils.ts#L149
The type 'WebAuth' is undefined
build: src/webauth/utils.ts#L165
The type 'Networks' is undefined
build: src/webauth/utils.ts#L372
The type 'WebAuth' is undefined
build: src/webauth/utils.ts#L393
The type 'Networks' is undefined
build: src/webauth/utils.ts#L499
The type 'WebAuth' is undefined
build: src/webauth/utils.ts#L522
The type 'Networks' is undefined
build: src/webauth/utils.ts#L688
The type 'WebAuth' is undefined