Skip to content

fix(lint): make master lint-clean (zcash, hive, keepkey)#46

Merged
BitHighlander merged 1 commit into
masterfrom
fix/zcash-lint-master
Jun 7, 2026
Merged

fix(lint): make master lint-clean (zcash, hive, keepkey)#46
BitHighlander merged 1 commit into
masterfrom
fix/zcash-lint-master

Conversation

@BitHighlander

Copy link
Copy Markdown
Collaborator

What

yarn lint (eslint --cache --max-warnings=0 .) fails on a clean checkout of master — it's why every open hdwallet PR shows a red build (18) check. The --cache was intermittently hiding part of it, but a fresh run fails across four files:

  • packages/hdwallet-keepkey/src/zcash.ts
  • packages/hdwallet-keepkey/src/zcash.test.ts
  • packages/hdwallet-keepkey/src/hive.ts
  • packages/hdwallet-keepkey/src/keepkey.ts

Changes (no logic changes)

  • zcash.ts / zcash.test.ts — prettier formatting; convert the 14 console.log debug traces to console.info (the repo's no-console rule allows info/warn/error, and these are intentional [zcash-pczt] diagnostics — kept, not removed, mirroring the eslint-disable … intentional diagnostics pattern already in ethereum.ts); remove an unused hexToBytes helper in the test.
  • hive.ts / keepkey.tsprettier formatting only (column-alignment removal + one-liner wrapping). The diff looks large but is pure whitespace.

Verification

Why

Supersedes the stale #41 (a month old, CONFLICTING, and only covered a fraction of the now-158 errors). Getting master lint-clean lets every other hdwallet PR (#40, #42, #45) show a true CI status instead of inheriting this red.

`yarn lint` (eslint --cache --max-warnings=0 .) fails on a clean checkout across
four files; the CI cache was intermittently masking hive.ts/keepkey.ts.

- zcash.ts / zcash.test.ts: prettier formatting; convert 14 `console.log` debug
  traces to `console.info` (the no-console rule allows info/warn/error and these
  are intentional [zcash-pczt] diagnostics); remove an unused `hexToBytes` helper.
- hive.ts / keepkey.ts: prettier formatting only (alignment/wrapping).

No logic changes. zcash unit tests pass (4/4). Supersedes the stale #41.
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hdwallet-sandbox Ready Ready Preview, Comment Jun 7, 2026 9:21pm

Request Review

@BitHighlander BitHighlander merged commit 3b9b49f into master Jun 7, 2026
5 checks passed
@BitHighlander BitHighlander deleted the fix/zcash-lint-master branch June 7, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant