chore: clean code #2727
code-checks.yml
on: push
lint-prettier
31s
check-translation-strings
28s
lint-syncpack
24s
lint-eslint
58s
typecheck
45s
lint-commit
12s
lint-deps
47s
lint-filenames
24s
test-unit
41s
test-coverage
45s
Annotations
21 errors and 22 warnings
lint-syncpack
Process completed with exit code 1.
|
lint-prettier
@leather.io/mobile#format:check: command (/home/runner/work/mono/mono/apps/mobile) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format:check exited (1)
|
lint-prettier
Process completed with exit code 1.
|
test-unit
@leather.io/ui#build: command (/home/runner/work/mono/mono/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
test-unit
Process completed with exit code 1.
|
test-coverage
@leather.io/ui#build: command (/home/runner/work/mono/mono/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
test-coverage
Process completed with exit code 1.
|
typecheck
@leather.io/ui#build: command (/home/runner/work/mono/mono/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
typecheck
Process completed with exit code 1.
|
lint-deps
@leather.io/ui#build: command (/home/runner/work/mono/mono/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
lint-deps
Process completed with exit code 1.
|
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
|
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/
|
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/
|
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/
|
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/
|
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 ['']
|
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/
|
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/
|
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:
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
|