-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Code Quality: Enforce code style in EditorConfig #16431
Comments
I thought we had this at one point. @lukeblevins do you have any recollection? |
Visual Studio might have not supported editorconfig preferences for XAML. I don't recall whether that's changed |
@yaira2 would you like to move forward with this? |
Once you made a PR, I'll shortly review it out. |
If I remember correctly, the last time this was discussed, we concluded that it would be better to add a check before merging PRs, similar to what we do for XAML. |
Did we? but it's a great idea. We should use "dotnet format" and specify changed files for each. |
Yes exactly. Visual Studio's code cleanup feature is also based on this file. |
Description
Currently, there is a code style,
Website:"docs/contributing/code-style"
. However, this would be better if it was enforced throughout the codebase through the editorconfig file in the root directory.Concerned code
Files/.editorconfig
Lines 3 to 6 in e7d00f3
Gains
Requirements
Website:"docs/contributing/code-style"
.Comments
I did a first draft here, I'll create a PR for it when this issue is marked ready to build.
The text was updated successfully, but these errors were encountered: