feat: non-permissioned networks, when a dapp finds itself on a global network for which it doesn't have a granted network permission #37993
Annotations
10 errors and 8 warnings
Run yarn lint:
app/components/UI/NetworkSelectorList/NetworkSelectorList.tsx#L75
React Hook useCallback has an unnecessary dependency: 'styles'. Either exclude it or remove the dependency array
|
Run yarn lint:
app/components/Views/AccountPermissions/AccountPermissions.tsx#L446
React Hook useEffect has a missing dependency: 'isNonDappNetworkSwitch'. Either include it or remove the dependency array
|
Run yarn lint:
app/components/Views/AccountPermissions/AccountPermissions.tsx#L681
React Hook useCallback has a missing dependency: 'isNonDappNetworkSwitch'. Either include it or remove the dependency array
|
Run yarn lint:
app/components/Views/AccountPermissions/NetworkPermissionsConnected/NetworkPermissionsConnected.tsx#L19
'AccountSelectorList' is defined but never used
|
Run yarn lint:
app/components/Views/AccountPermissions/NetworkPermissionsConnected/NetworkPermissionsConnected.tsx#L32
'/home/runner/work/metamask-mobile/metamask-mobile/app/selectors/networkController.ts' imported multiple times
|
Run yarn lint:
app/components/Views/AccountPermissions/NetworkPermissionsConnected/NetworkPermissionsConnected.tsx#L43
'../../../../selectors/networkController' import is duplicated
|
Run yarn lint:
app/components/Views/AccountPermissions/NetworkPermissionsConnected/NetworkPermissionsConnected.tsx#L43
'/home/runner/work/metamask-mobile/metamask-mobile/app/selectors/networkController.ts' imported multiple times
|
|
Run yarn lint:
app/components/Views/AccountPermissions/NetworkPermissionsConnected/NetworkPermissionsConnected.tsx#L98
'switchActiveAccount' is assigned a value but never used
|
Run yarn lint:
app/components/Views/AccountPermissions/NetworkPermissionsConnected/NetworkPermissionsConnected.tsx#L144
'renderSheetAction' is assigned a value but never used
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run yarn lint:
app/components/Views/LedgerConnect/Scan.test.tsx#L200
Missing semicolon
|
Run yarn lint:
app/components/Views/confirmations/components/UI/BottomModal/BottomModal.tsx#L7
'#414141' 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
|
|
|
Run yarn lint:
e2e/api-mocking/mock-config/mock-events.js#L25
Trailing spaces not allowed
|
Run yarn lint:
e2e/specs/assets/import-tokens.spec.js#L74
Trailing spaces not allowed
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage-1", "coverage-10", "coverage-2", "coverage-4", "coverage-6", "coverage-7", "coverage-8", "coverage-9".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading