Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rustfmt.toml #431

Closed
nuke-web3 opened this issue Jul 29, 2021 · 2 comments
Closed

Add rustfmt.toml #431

nuke-web3 opened this issue Jul 29, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@nuke-web3
Copy link
Contributor

Motivation

Substrate added rustfmt.toml recently that I would propose is used here as well to keep consistant formatting throughout parity code bases, at least those built on (or for) substrate.

Suggested Solution

Follow the same CI flow and use the same formatting file https://github.com/paritytech/substrate/blob/master/rustfmt.toml

Alternatives

Use substrate's formatting as a base, and customize as the maintainers here see fit.

@nuke-web3 nuke-web3 added the enhancement New feature or request label Jul 29, 2021
@sorpaas
Copy link
Member

sorpaas commented Jul 29, 2021

I'll handle this myself. Saves reviewing time.

@nuke-web3
Copy link
Contributor Author

Fixed in #432 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants