chore: clean code #2727
Annotations
10 errors and 11 warnings
Lint Eslint:
packages/ui/src/components/collectibles/index.native.ts#L2
Parse errors in imported module './native/collectible-image.native': Unexpected keyword or identifier. (18:1)
|
Lint Eslint:
packages/ui/src/components/collectibles/native/collectible-card.native.tsx#L3
Parse errors in imported module './collectible-image.native': Unexpected keyword or identifier. (18:1)
|
Lint Eslint
@leather.io/ui#lint: command (/home/runner/work/mono/mono/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L3
'/home/runner/work/mono/mono/apps/mobile/node_modules/@leather.io/ui/native.ts' imported multiple times
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L4
'@leather.io/ui/native' import is duplicated
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L4
'/home/runner/work/mono/mono/apps/mobile/node_modules/@leather.io/ui/native.ts' imported multiple times
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L42
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L43
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L51
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L52
disallow literal string
|
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|
Lint Eslint:
packages/ui/src/components/approver/animations/approver-animation.web.tsx#L20
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
|
Lint Eslint:
packages/ui/src/components/approver/animations/approver-animation.web.tsx#L29
'_e' is defined but never used
|
Lint Eslint:
packages/ui/src/components/collectibles/collectibles.shared.tsx#L10
Array type using 'Array<T>' is forbidden. Use 'T[]' instead
|
Lint Eslint:
packages/ui/src/components/collectibles/native/collectible-text.native.tsx#L23
'err' is defined but never used
|
Lint Eslint:
apps/mobile/src/app/(home)/create-new-wallet.tsx#L109
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
|
Lint Eslint:
apps/mobile/src/app/(home)/developer-console/index.tsx#L55
React Hook useEffect has missing dependencies: 'cleanupNotificationReceivedListener', 'setNotificationReceivedListener', and 'toast'. Either include them or remove the dependency array
|
Lint Eslint:
apps/mobile/src/app/(home)/recover-wallet.tsx#L87
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
|
Lint Eslint:
apps/mobile/src/app/(home)/settings/wallet/configure/[wallet]/index.tsx#L50
React Hook useEffect has missing dependencies: 'navigation' and 'wallet.name'. Either include them or remove the dependency array
|
Lint Eslint:
apps/mobile/src/components/action-bar/index.tsx#L73
React Hook useEffect has missing dependencies: 'animatedBottom', 'animatedOpacity', and 'bottom'. Either include them or remove the dependency array
|
Lint Eslint:
apps/mobile/src/components/toast/toast-context.tsx#L23
React Hook useCallback has an unnecessary dependency: 'toastRef.current'. Either exclude it or remove the dependency array. Mutable values like 'toastRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
Loading