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

Closed
Ph0enixKM opened this issue Jul 4, 2024 · 4 comments · Fixed by #310
Closed

Create a basic Editor Config #269

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

Comments

@Ph0enixKM
Copy link
Member

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
@github-project-automation github-project-automation bot moved this to 🆕 New in Amber Project Jul 4, 2024
@Ph0enixKM Ph0enixKM moved this from 🆕 New to 📋 Todo in Amber Project Jul 4, 2024
@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
Member Author

Okay sounds good

@b1ek
Copy link
Member

b1ek commented Jul 8, 2024

isnt this issue basically a PR?

@Ph0enixKM
Copy link
Member Author

isnt this issue basically a PR?

Yeah I’ll create one later today

@Ph0enixKM Ph0enixKM self-assigned this Jul 8, 2024
Mte90 added a commit to Mte90/Amber that referenced this issue Jul 16, 2024
Ph0enixKM pushed a commit that referenced this issue Jul 19, 2024
@github-project-automation github-project-automation bot moved this from 📋 Todo to 🏁 Done in Amber Project Jul 19, 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

Successfully merging a pull request may close this issue.

3 participants