Open jrmykolyn opened 2 years ago
Thanks for this PR! I'm definitely in favor of adding a formatter. I just did a refactor which led a bunch of conflicts on this branch. Would you mind merging master?
As far as configurations go, I would follow the styles of other Polkadot integration tools like https://github.com/paritytech/txwrapper-core/ and https://github.com/paritytech/substrate-api-sidecar. That said, this prettier config greatly improves readability, would be happy to include this.
Overview:
This pull request introduces the following changes:
format
script (ie.npm run format
).src/
andconfig
files.It achieves this by introducing the following dependencies:
Additional Notes:
src/
andconfig/
are programmatic formatting (ie. non-functional).