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

Dotnet format #368

Merged
merged 11 commits into from
Aug 5, 2024
Merged

Dotnet format #368

merged 11 commits into from
Aug 5, 2024

Conversation

MrDanOak
Copy link
Contributor

@MrDanOak MrDanOak commented Jul 31, 2024

  • add .editoconfig with sensible defaults
  • run dotnet format on the solution
    image
    image
    image

.editorconfig Show resolved Hide resolved
Copy link
Owner

@ethanmoffat ethanmoffat left a comment

Choose a reason for hiding this comment

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

Starting with these two suggestions - I think that'll reduce most of the code churn in the PR and aligns with my preferred style. I'd like to make introduction of a formatter as unintrusive as possible. It'll make it easier to see the impact of the other editorconfig settings if there isn't as much using reorder noise or newlines at the ends of files being deleted.

.editorconfig Outdated Show resolved Hide resolved
.editorconfig Outdated Show resolved Hide resolved
Copy link
Owner

@ethanmoffat ethanmoffat left a comment

Choose a reason for hiding this comment

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

Thanks so much for this, this will make my life significantly easier when reviewing PRs. I was hoping that the usings/file EOL were more consistent than they were - too bad this has to touch so many files, but seems like it's unavoidable. Guess we're ripping off the band-aid!

@ethanmoffat ethanmoffat merged commit ca4c83f into ethanmoffat:master Aug 5, 2024
3 checks passed
@ethanmoffat ethanmoffat added this to the vNext milestone Aug 5, 2024
ethanmoffat pushed a commit that referenced this pull request Aug 5, 2024
This change adds auto-formatting for the solution. Formatting can be executed via the `dotnet format <sln_name>` command. Changes that do not comply with the formatting expectations set in the editorconfig will fail.

Also adds:
- global.json file for selecting 6.0 sdk
- eol setting for gitattributes so checkouts work properly cross-platform with the editorconfig changes
- readme updates
ethanmoffat pushed a commit that referenced this pull request Aug 6, 2024
This change adds auto-formatting for the solution. Formatting can be executed via the `dotnet format <sln_name>` command. Changes that do not comply with the formatting expectations set in the editorconfig will fail.

Also adds:
- global.json file for selecting 6.0 sdk
- eol setting for gitattributes so checkouts work properly cross-platform with the editorconfig changes
- readme updates
ethanmoffat pushed a commit that referenced this pull request Aug 6, 2024
This change adds auto-formatting for the solution. Formatting can be executed via the `dotnet format <sln_name>` command. Changes that do not comply with the formatting expectations set in the editorconfig will fail.

Also adds:
- global.json file for selecting 6.0 sdk
- eol setting for gitattributes so checkouts work properly cross-platform with the editorconfig changes
- readme updates
ethanmoffat added a commit that referenced this pull request Aug 7, 2024
* Reboot handler (#362)

Add Message_Close handler, reboot event notifier, and reboot sound effect id

* Dotnet format (#368)

This change adds auto-formatting for the solution. Formatting can be executed via the `dotnet format <sln_name>` command. Changes that do not comply with the formatting expectations set in the editorconfig will fail.

Also adds:
- global.json file for selecting 6.0 sdk
- eol setting for gitattributes so checkouts work properly cross-platform with the editorconfig changes
- readme updates

---------

Co-authored-by: Richard Leek <richard@richardleek.com>
Co-authored-by: Dan Oak <464887+MrDanOak@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants