Skip to content

FIX: Validate Snap arguments #49

FIX: Validate Snap arguments

FIX: Validate Snap arguments #49

Triggered via pull request December 5, 2023 10:55
Status Failure
Total duration 3m 58s
Artifacts

build-lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: packages/snap/src/types.ts#L2
'superstruct' should be listed in the project's dependencies. Run 'npm i -S superstruct' to add it
Lint: packages/snap/src/types.ts#L2
Import "Infer" is only used as types
Lint: packages/snap/src/types.ts#L2
Replace `·Infer,·boolean,·object,·optional,·type,·string,·number,·array·}·from·'superstruct';⏎` with `⏎··Infer,⏎··boolean,⏎··object,⏎··optional,⏎··type,⏎··string,⏎··number,⏎··array,⏎}·from·'superstruct';`
Lint: packages/snap/src/types.ts#L19
Delete `⏎`
Lint: packages/snap/src/types.ts#L25
Delete `⏎`
Lint: packages/snap/src/types.ts#L29
Insert `·`
Lint: packages/snap/src/types.ts#L29
Expected JSDoc block to be aligned
Lint: packages/snap/src/types.ts#L30
Insert `·`
Lint: packages/snap/src/types.ts#L32
Replace `····` with `··`
Lint: packages/snap/src/types.ts#L33
Expected JSDoc block to be aligned