chore: clean code #2729
Annotations
10 errors and 8 warnings
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L40
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L41
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L49
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L50
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L54
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L55
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L59
disallow literal string
|
Lint Eslint:
apps/mobile/src/components/widgets/collectibles/collectibles-widget.tsx#L60
disallow literal string
|
Lint Eslint
@leather.io/mobile#lint: command (/home/runner/work/mono/mono/apps/mobile) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
|
Lint Eslint
Process completed with exit code 1.
|
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:
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
|
Lint Eslint:
apps/mobile/src/store/storage-persistors.ts#L159
React Hook useEffect has missing dependencies: 'getMnemonic' and 'shouldLoadOnInit'. Either include them or remove the dependency array
|
Loading