FIX: Validate Snap arguments #49
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
|