csharpfritz / InstantAPIs

A library that generates Minimal API endpoints for an Entity Framework context.
MIT License
448 stars 57 forks source link

Spaces vs. Tabs #42

Closed Stelzi79 closed 2 years ago

Stelzi79 commented 2 years ago

I have looked at several .csproj files and they all use Spaces for indentation.

It might be a good idea to put an .editorconfig file in that ensures that only Tabs instead of Spaces are used for indentations.

csharpfritz commented 2 years ago

Yea.. Let's add an editorConfig that dictates tabs and start building it out

JasonBock commented 2 years ago

I'd go one step further and say that this project needs an .editorconfig to enforce more than just tabs vs. spaces. Do I use var, or the type name? Do I use expression-bodied members when possible, or not? There are a lot of styling aspects to code that an .editorconfig can enforce.