Skip to content

refactor(sdk-core): burn eslint switch debt in crypto/*#48

Open
panditdhamdhere wants to merge 1 commit into
Wire-Network:masterfrom
panditdhamdhere:refactor/eslint-crypto-switch-debt
Open

refactor(sdk-core): burn eslint switch debt in crypto/*#48
panditdhamdhere wants to merge 1 commit into
Wire-Network:masterfrom
panditdhamdhere:refactor/eslint-crypto-switch-debt

Conversation

@panditdhamdhere

Copy link
Copy Markdown
Contributor

Summary

  • Replace switch with ts-pattern match() across sdk-core crypto helpers
  • Remove crypto files from SwitchDebtFiles and pay touched-file ratchet debt on Curves.ts / Sign.ts

Test plan

  • pnpm exec jest packages/sdk-core/tests/crypto
  • pnpm exec eslint on touched crypto files (0 errors)

… switches with ts-pattern match() and drop the

grandfathered crypto entries from the eslint ratchet lists.
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