feat: SOL-46 adds the multichain transactions controller package #14518
Annotations
10 errors and 11 warnings
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.test.ts#L11
'@types/uuid' should be listed in the project's dependencies. Run 'npm i -S @types/uuid' to add it
|
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.test.ts#L12
Imports "AllowedActions", "AllowedEvents", "MultichainTransactionsControllerState" and "MultichainTransactionsControllerMessenger" are only used as type
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.test.ts#L197
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.test.ts#L217
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.test.ts#L246
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.test.ts#L334
Use `expect(await promise)` instead
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.ts#L9
Imports "Transaction" are only used as type
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.ts#L290
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Run yarn lint:
packages/multichain-transactions-controller/src/MultichainTransactionsController.ts#L297
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run yarn lint:
examples/example-controllers/src/gas-prices-controller.test.ts#L5
`../../../packages/base-controller/tests/helpers` type import should occur after import of `./network-controller-types`
|
Run yarn lint:
examples/example-controllers/src/gas-prices-controller.ts#L196
Member '#gasPricesService' is never reassigned; mark it as `readonly`
|
Run yarn lint:
examples/example-controllers/src/gas-prices-controller.ts#L241
Replace `·await·this.#gasPricesService.fetchGasPrices(⏎······chainId,⏎····` with `⏎······await·this.#gasPricesService.fetchGasPrices(chainId`
|
Run yarn lint:
examples/example-controllers/src/gas-prices-service/gas-prices-service.test.ts#L17
The 'fetch' is still an experimental feature and is not supported until Node.js 21.0.0. The configured version range is '^18.18 || >=20'
|
Run yarn lint:
examples/example-controllers/src/gas-prices-service/gas-prices-service.ts#L41
Member '#fetch' is never reassigned; mark it as `readonly`
|
Run yarn lint:
examples/example-controllers/src/gas-prices-service/gas-prices-service.ts#L56
Missing JSDoc @returns declaration
|
Run yarn lint:
examples/example-controllers/src/pet-names-controller.test.ts#L8
`./pet-names-controller` type import should occur before type import of `../../../packages/base-controller/tests/helpers`
|
Run yarn lint:
examples/example-controllers/src/pet-names-controller.test.ts#L9
`./pet-names-controller` import should occur before type import of `../../../packages/base-controller/tests/helpers`
|
Run yarn lint:
packages/accounts-controller/src/AccountsController.test.ts#L18
No exported names found in module 'uuid'
|
Run yarn lint:
packages/accounts-controller/src/AccountsController.test.ts#L140
Member '#accountIds' is never reassigned; mark it as `readonly`
|
Loading