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

Create a basic Editor Config #269

Open
Ph0enixKM opened this issue Jul 4, 2024 · 4 comments
Open

Create a basic Editor Config #269

Ph0enixKM opened this issue Jul 4, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Ph0enixKM
Copy link
Collaborator

Create an .editorconfig for this project to set a uniform set of rules:

root = true

[*]
end_of_line = lf
indent_size = 4
insert_final_newline = true
indent_style = space
charset = utf-8
@Mte90 Mte90 added the enhancement New feature or request label Jul 4, 2024
@Mte90
Copy link
Member

Mte90 commented Jul 4, 2024

I suggest that:

root = true

[*]
end_of_line = lf
indent_style = space
charset = utf-8

[*.rs, *.ab]
end_of_line = lf
indent_size = 4
insert_final_newline = true
indent_style = space
charset = utf-8

Otherwise it will be applied to Cargo.toml or *.txt

@Ph0enixKM
Copy link
Collaborator Author

Okay sounds good

@b1ek
Copy link
Member

b1ek commented Jul 8, 2024

isnt this issue basically a PR?

@Ph0enixKM
Copy link
Collaborator Author

isnt this issue basically a PR?

Yeah I’ll create one later today

@Ph0enixKM Ph0enixKM self-assigned this Jul 8, 2024
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

3 participants