FIX: Validate Snap arguments #52
Annotations
10 errors
Lint:
packages/snap/src/index.ts#L8
Identifier 'superstruct_validate' is not in camel case
|
Lint:
packages/snap/src/index.ts#L10
Insert `·`
|
Lint:
packages/snap/src/index.ts#L10
'GetBip32PublicKeyParams' is defined but never used
|
Lint:
packages/snap/src/index.ts#L11
Replace `GetBip32PublicKeyParamsStruct` with `·GetBip32PublicKeyParamsStruct·`
|
Lint:
packages/snap/src/index.ts#L34
Replace `⏎······const·[err,·params]·=·superstruct_validate(request.params,·GetBip32PublicKeyParamsStruct` with `······const·[err,·params]·=·superstruct_validate(⏎········request.params,⏎········GetBip32PublicKeyParamsStruct,⏎······`
|
Lint:
packages/snap/src/index.ts#L35
Identifier 'err' is restricted
|
Lint:
packages/snap/src/index.ts#L36
Identifier 'err' is restricted
|
Lint:
packages/snap/src/index.ts#L37
Identifier 'err' is restricted
|
Lint:
packages/snap/src/index.ts#L39
Delete `······`
|
Lint:
packages/snap/src/index.ts#L57
Delete `⏎⏎····`
|