Skip to content

Conversation

@LucDeCaf
Copy link
Contributor

@LucDeCaf LucDeCaf commented Dec 22, 2025

Adds a default .editorconfig file using dotnet new editorconfig and runs dotnet format.

The config makes the following somewhat opinionated choices with the goal of maximising consistency:

  • Tab size of 4
  • Insert newlines at EOF
  • Ordered imports
  • Allman curly braces
  • Space before and after inheritance colon (class Cow : Animal, not class Cow: Animal or class Cow:Animal)

Most of the options are the default options created by dotnet new editorconfig, except for the following:

  • insert_final_newline: false to true

Chriztiaan
Chriztiaan previously approved these changes Jan 5, 2026
Copy link
Collaborator

@Chriztiaan Chriztiaan left a comment

Choose a reason for hiding this comment

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

Looks good! Can we just mention in the readme which vscode extension is needed to support the config.

@LucDeCaf LucDeCaf requested a review from Chriztiaan January 5, 2026 09:14
@LucDeCaf LucDeCaf merged commit 6146f59 into main Jan 5, 2026
1 check passed
@LucDeCaf LucDeCaf deleted the chore/formatting branch January 5, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants