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

[Task (L1SC)]: Format the repository according to new guidelines #396

Closed
kodemartin opened this issue May 27, 2024 · 0 comments · Fixed by #422
Closed

[Task (L1SC)]: Format the repository according to new guidelines #396

kodemartin opened this issue May 27, 2024 · 0 comments · Fixed by #422
Assignees
Labels
sc-platform Issues related to the Smart Contract Platform group.

Comments

@kodemartin
Copy link
Contributor

kodemartin commented May 27, 2024

Description

Following the discussions on the new Rust guidelines for the repo the formatting configuration will be the following:

version = "Two"
edition = "2021"
format_code_in_doc_comments = true
group_imports = "StdExternalCrate"
imports_granularity = "Crate"
normalize_comments = true
normalize_doc_attributes = true
wrap_comments = true

We need to

  • Update rustfmt.toml in the repo.
  • Setup/enable the CI workflow
  • Reformat the repo
@kodemartin kodemartin self-assigned this May 27, 2024
@lzpap lzpap added the sc-platform Issues related to the Smart Contract Platform group. label May 27, 2024
@kodemartin kodemartin added this to the L1SC/IOTA-Framework milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sc-platform Issues related to the Smart Contract Platform group.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants