Skip to content

chore: clean code #2729

chore: clean code

chore: clean code #2729

Triggered via push September 26, 2024 05:45
Status Failure
Total duration 1m 37s
Artifacts

code-checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 19 warnings
lint-syncpack
Process completed with exit code 1.
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.
lint-deps
Process completed with exit code 1.
lint-commit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check-translation-strings
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-syncpack
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-filenames
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-prettier
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
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
test-unit
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-deps
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/
typecheck
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/
test-coverage
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/
test-coverage
Unexpected input(s) 'fetch-depth', valid inputs are ['']
test-coverage
Unexpected input(s) 'fetch-depth', valid inputs are ['']