[assets-contract-controller] Apply messenger pattern and remove inheritance from BaseControllerV1
#10310
Annotations
10 errors and 1 warning
packages/assets-controllers/src/AssetsContractController.test.ts#L15
'@metamask/network-controller' imported multiple times
|
packages/assets-controllers/src/AssetsContractController.test.ts#L16
Replace `⏎··getDefaultPreferencesState,⏎` with `·getDefaultPreferencesState·`
|
packages/assets-controllers/src/AssetsContractController.test.ts#L23
Imports "AllowedActions" and "AllowedEvents" are only used as types
|
packages/assets-controllers/src/AssetsContractController.test.ts#L29
There should be at least one empty line between import groups
|
packages/assets-controllers/src/AssetsContractController.test.ts#L30
All imports in the declaration are only used as types. Use `import type`
|
packages/assets-controllers/src/AssetsContractController.test.ts#L30
`@metamask/network-controller` import should occur before import of `@metamask/preferences-controller`
|
packages/assets-controllers/src/AssetsContractController.test.ts#L30
'@metamask/network-controller' imported multiple times
|
packages/assets-controllers/src/AssetsContractController.test.ts#L31
All imports in the declaration are only used as types. Use `import type`
|
packages/assets-controllers/src/AssetsContractController.test.ts#L31
`@metamask/network-controller` import should occur before import of `@metamask/preferences-controller`
|
packages/assets-controllers/src/AssetsContractController.test.ts#L31
'@metamask/network-controller' imported multiple times
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading