w3f / staking-rewards-collector

Apache License 2.0
78 stars 32 forks source link

chore: Add formatter #39

Open jrmykolyn opened 2 years ago

jrmykolyn commented 2 years ago

Overview:

This pull request introduces the following changes:

It achieves this by introducing the following dependencies:

Additional Notes:

joepetrowski commented 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.