refactor: asset-list
and token-list
#57415
Annotations
9 errors and 10 warnings
Lint:
ui/components/app/assets/util/importAllDetectedTokens.ts#L1
'Hex' is defined but never used
|
Lint:
ui/components/app/assets/util/importAllDetectedTokens.ts#L12
`@metamask/network-controller` import should occur before import of `../../../../../shared/constants/metametrics`
|
Lint:
ui/components/app/assets/util/importAllDetectedTokens.ts#L30
Unexpected any. Specify a different type
|
Lint:
ui/components/app/assets/util/importAllDetectedTokens.ts#L31
Unexpected any. Specify a different type
|
Lint:
ui/components/app/assets/util/importAllDetectedTokens.ts#L32
Unexpected any. Specify a different type
|
Lint:
ui/pages/asset/util.ts#L103
'parseAssetId' is assigned a value but never used
|
Lint:
ui/selectors/selectors.js#L571
'state' is defined but never used. Allowed unused args must match /[_]+/u
|
Lint:
ui/selectors/selectors.js#L571
Unexpected empty function 'getMultichainTokenBalances'
|
Lint
Process completed with exit code 1.
|
Lint:
app/scripts/controllers/swaps/swaps.test.ts#L1265
Some tests seem to be commented
|
Lint:
app/scripts/controllers/swaps/swaps.test.ts#L1286
Some tests seem to be commented
|
Lint:
app/scripts/controllers/swaps/swaps.test.ts#L1306
Some tests seem to be commented
|
Lint:
app/scripts/controllers/swaps/swaps.test.ts#L1390
Some tests seem to be commented
|
Lint:
app/scripts/controllers/swaps/swaps.test.ts#L1406
Some tests seem to be commented
|
Lint:
app/scripts/controllers/swaps/swaps.test.ts#L1429
Some tests seem to be commented
|
Lint:
test/e2e/flask/solana/common-solana.ts#L91
'#fb9f18' Hex color values are not allowed. Consider using design tokens instead. For support reach out to the design system team #metamask-design-system on Slack
|
Lint:
ui/components/app/detected-token/detected-token.js#L117
React Hook useEffect has a missing dependency: 'tokensListDetected'. Either include it or remove the dependency array
|
Lint:
ui/components/app/name/name.stories.tsx#L129
Named exports should not use the name annotation if it is redundant to the name that would be generated by the export name
|
Lint:
ui/components/app/snaps/snap-home-page/snap-home-renderer.js#L49
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
|
Loading