Skip to content

fix: lint

fix: lint #112

Triggered via pull request November 27, 2024 11:46
Status Failure
Total duration 5m 20s
Artifacts

test-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint (ubuntu-latest, 20): packages/providers/onekey-cosmos-provider/src/OnekeyCosmosProvider.ts#L441
Unsafe member access .toString on an `any` value
lint (ubuntu-latest, 20): packages/providers/onekey-cosmos-provider/src/OnekeyCosmosProvider.ts#L455
Unsafe member access .fromString on an `any` value
lint (ubuntu-latest, 20): packages/providers/onekey-cosmos-provider/src/cosmjs.ts#L72
Unsafe member access .fromValue on an `any` value
lint (ubuntu-latest, 20): packages/providers/onekey-ton-provider/src/OnekeyTonProvider.ts#L248
This assertion is unnecessary since it does not change the type of the expression
lint (ubuntu-latest, 20): packages/core/src/JsBridgeBase.ts#L54
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/JsBridgeBase.ts#L58
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/JsBridgeBase.ts#L82
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/JsBridgeBase.ts#L98
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/JsBridgeBase.ts#L390
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/ProviderBase.ts#L62
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/ProviderBase.ts#L93
'reject' is defined but never used
lint (ubuntu-latest, 20): packages/core/src/ProviderBase.ts#L218
'args' is defined but never used
lint (ubuntu-latest, 20): packages/core/src/ProviderBase.ts#L218
Unexpected any. Specify a different type
lint (ubuntu-latest, 20): packages/core/src/ProviderBase.ts#L221
'args' is defined but never used