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 editorconfig #13

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Add editorconfig #13

merged 1 commit into from
Mar 19, 2024

Conversation

infinisil
Copy link
Member

@infinisil
Copy link
Member Author

We could also add CI to check that, but I don't think it's that important. I think it's just good practice for all repos to have one of those :)

Copy link
Contributor

@philiptaron philiptaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think?

Comment on lines +10 to +12
[*.rs]
indent_size = 4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like adding max_line_length = 100 (maybe for all)

I would also like to use the nixfmt-rfc-style nix formatter!

https://github.com/rust-lang/rust/blob/master/.editorconfig

Copy link
Member Author

@infinisil infinisil Mar 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do Nix formatting with another PR, but the max line length sounds good, added it for [*] :)

@philiptaron philiptaron merged commit 595ab40 into main Mar 19, 2024
1 check passed
@philiptaron philiptaron deleted the editorconfig branch March 19, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants