FIX: Validate Snap arguments #48
Annotations
10 errors
Run yarn lint:
packages/snap/src/index.ts#L47
Delete `······`
|
Run yarn lint:
packages/snap/src/types.ts#L1
'Bytes' is defined but never used
|
Run yarn lint:
packages/snap/src/types.ts#L2
`@metamask/snaps-utils/*` import should occur before import of `@metamask/utils`
|
Run yarn lint:
packages/snap/src/types.ts#L3
'superstruct' should be listed in the project's dependencies. Run 'npm i -S superstruct' to add it
|
Run yarn lint:
packages/snap/src/types.ts#L3
Import "Infer" is only used as types
|
Run yarn lint:
packages/snap/src/types.ts#L3
Replace `·Infer,·boolean,·enums,·object,·optional,·type,·string,·number,·array·}·from·'superstruct';⏎` with `⏎··Infer,⏎··boolean,⏎··enums,⏎··object,⏎··optional,⏎··type,⏎··string,⏎··number,⏎··array,⏎}·from·'superstruct';`
|
Run yarn lint:
packages/snap/src/types.ts#L3
'enums' is defined but never used
|
|
|
|
The logs for this run have expired and are no longer available.
Loading