FIX: Validate Snap arguments #48
Annotations
10 errors
Lint:
packages/snap/src/index.ts#L47
Delete `······`
|
Lint:
packages/snap/src/types.ts#L1
'Bytes' is defined but never used
|
Lint:
packages/snap/src/types.ts#L2
`@metamask/snaps-utils/*` import should occur before import of `@metamask/utils`
|
Lint:
packages/snap/src/types.ts#L3
'superstruct' should be listed in the project's dependencies. Run 'npm i -S superstruct' to add it
|
Lint:
packages/snap/src/types.ts#L3
Import "Infer" is only used as types
|
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';`
|
Lint:
packages/snap/src/types.ts#L3
'enums' is defined but never used
|
Lint:
packages/snap/src/types.ts#L18
Delete `⏎`
|
Lint:
packages/snap/src/types.ts#L28
Delete `⏎`
|
Lint:
packages/snap/src/types.ts#L30
Insert `·`
|