Skip to content

feat: New Apis for Snap #72

feat: New Apis for Snap

feat: New Apis for Snap #72

Triggered via pull request September 23, 2024 13:53
Status Failure
Total duration 5m 6s
Artifacts

lint.yml

on: pull_request
Matrix: Lint
All jobs pass
0s
All jobs pass
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Lint (18.x): packages/snap/snap.config.js#L18
Unexpected use of process.env
Lint (18.x): packages/snap/snap.config.js#L19
Unexpected use of process.env
Lint (18.x): packages/snap/src/index.ts#L9
Insert `,`
Lint (18.x): packages/snap/src/index.ts#L12
There should be at least one empty line between import groups
Lint (16.x): packages/snap/snap.config.js#L18
Unexpected use of process.env
Lint (16.x): packages/snap/snap.config.js#L19
Unexpected use of process.env
Lint (16.x): packages/snap/src/index.ts#L9
Insert `,`
Lint (16.x): packages/snap/src/index.ts#L12
There should be at least one empty line between import groups
Lint (16.x): packages/snap/src/index.ts#L235
Replace `·'bscscan.com',·'gnosisscan.io',` with `⏎····'bscscan.com',⏎····'gnosisscan.io',⏎···`
Lint (18.x): packages/snap/src/index.ts#L235
Replace `·'bscscan.com',·'gnosisscan.io',` with `⏎····'bscscan.com',⏎····'gnosisscan.io',⏎···`
Lint (16.x): packages/snap/src/index.ts#L236
Replace `·'explorer.solana.com',·'basescan.org',` with `⏎····'explorer.solana.com',⏎····'basescan.org',⏎···`
Lint (18.x): packages/snap/src/index.ts#L236
Replace `·'explorer.solana.com',·'basescan.org',` with `⏎····'explorer.solana.com',⏎····'basescan.org',⏎···`
Lint (16.x): packages/snap/src/index.ts#L237
Replace `·'lineascan.build',·'optimistic.etherscan.io',` with `⏎····'lineascan.build',⏎····'optimistic.etherscan.io',⏎···`
Lint (18.x): packages/snap/src/index.ts#L237
Replace `·'lineascan.build',·'optimistic.etherscan.io',` with `⏎····'lineascan.build',⏎····'optimistic.etherscan.io',⏎···`
Lint (16.x): packages/snap/src/index.ts#L238
Replace `·'snowscan.xyz',·'cronoscan.com',` with `⏎····'snowscan.xyz',⏎····'cronoscan.com',⏎···`
Lint (16.x): packages/snap/src/index.ts#L239
Replace `·'wemixscan.com',·'scrollscan.com',·'era.zksync.network',·'celoscan.io'` with `⏎····'wemixscan.com',⏎····'scrollscan.com',⏎····'era.zksync.network',⏎····'celoscan.io',`
Lint (18.x): packages/snap/src/index.ts#L238
Replace `·'snowscan.xyz',·'cronoscan.com',` with `⏎····'snowscan.xyz',⏎····'cronoscan.com',⏎···`
Lint (16.x): packages/snap/src/index.ts#L276
Replace `'**Domain:**·_Whether·this·contract·is·known·to·be·used·on·this·domain?_'` with `⏎··········'**Domain:**·_Whether·this·contract·is·known·to·be·used·on·this·domain?_',⏎········`
Lint (18.x): packages/snap/src/index.ts#L239
Replace `·'wemixscan.com',·'scrollscan.com',·'era.zksync.network',·'celoscan.io'` with `⏎····'wemixscan.com',⏎····'scrollscan.com',⏎····'era.zksync.network',⏎····'celoscan.io',`
Lint (18.x): packages/snap/src/index.ts#L276
Replace `'**Domain:**·_Whether·this·contract·is·known·to·be·used·on·this·domain?_'` with `⏎··········'**Domain:**·_Whether·this·contract·is·known·to·be·used·on·this·domain?_',⏎········`
Lint (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969, actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (16.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969, actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/