js-algorand-sdk icon indicating copy to clipboard operation
js-algorand-sdk copied to clipboard

chore: migrate prettier & ESlint to Biome

Open RobbyUitbeijerse opened this issue 1 year ago • 1 comments

This PR requires some work, but I highly recommend considering the implications beforehand - I'm happy to bring it over the finish line if you're interested.

In my last few projects I've been using @biomejs/biome as a replacement for both Prettier as well as ESLint. It's a single and a lot faster than Prettier/ESLint.

There are noteworthy (web3 related) projects using @biomejs/biome already, like viem & wagmi.

If you're interested, there are a few steps to take. Mainly:

  1. Running the formatter & lint scripts over the whole codebase
  2. Adjusting the leftover cases that can't be automatically fixed

As this results in a ton of changes, discussing the changes in this PR first before actually running the format/lint scripts made most sense to me. Let me know what you think.

RobbyUitbeijerse avatar Dec 01 '23 19:12 RobbyUitbeijerse

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 01 '23 19:12 CLAassistant