Add a basic Editorconfig to help standardize formatting and code style.#41
Merged
Merged
Conversation
❌ Deploy Preview for blazorstatic failed. Why did it fail? →
|
Collaborator
Contributor
Author
- reformat based on editorconfig
Collaborator
|
ok. I used the aspire editcofig.. Also changed something... Let me know if you have something against my decisions, otherwise we can merge it. |
Contributor
Author
|
LGTM. I think just getting it in is important and we can always tweak it as we go. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


#39
So this is a pretty simple .editorconfig with the changes applied. Feel free to modify/change however you see fit, but I didn't want to bring in too many rules and keep it mostly about spacing. I tend to use rules from MS OSS projects like Roslyn or ASP.NET, but it looks like the code in this project differs from that style. I can also update my branch if there's an .editorconfig out there you had in mind as it's relatively easy for me to just reformat and push my changes.