Skip to content

Fix remaining exports from the vc module #3907

Fix remaining exports from the vc module

Fix remaining exports from the vc module #3907

Triggered via push November 5, 2024 21:25
Status Failure
Total duration 1m 2s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint
@docknetwork/credential-sdk#lint: command (/home/runner/work/sdk/sdk/packages/credential-sdk) /usr/local/bin/yarn run lint exited (1)
lint: packages/credential-sdk/src/vc/index.js#L1
'signPresentation' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/credential-sdk/src/vc/index.js#L1
Strings must use singlequote
lint: packages/credential-sdk/src/vc/index.js#L2
'issueCredential' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/credential-sdk/src/vc/index.js#L2
Strings must use singlequote
lint: packages/credential-sdk/src/vc/index.js#L4
'DEFAULT_TYPE' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/credential-sdk/src/vc/index.js#L4
'DEFAULT_CONTEXT' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/credential-sdk/src/vc/index.js#L4
Strings must use singlequote
lint: packages/credential-sdk/src/vc/index.js#L31
Strings must use singlequote
lint: packages/credential-sdk/src/vc/index.js#L32
Strings must use singlequote
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: packages/credential-sdk/src/types/did/document.js#L229
Unexpected unnamed function