Marusyk / MSA.BuildingBlocks

🧱 Common building blocks designed to aid the development of microservice-based applications using .NET
MIT License
5 stars 0 forks source link

Define code-style rules in .editorconfig #15

Closed Marusyk closed 7 months ago

Marusyk commented 7 months ago

We are using the code style that is recommended by Microsoft and .NET development team. To maintain consistent coding styles for multiple developers working on the same project across various editors and IDE we use EditorConfig:

EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems.

The code style rules are based on .NET open-source repositories from Microsoft: https://github.com/dotnet/runtime/blob/main/.editorconfig https://github.com/dotnet/aspnetcore/blob/main/.editorconfig https://github.com/dotnet/efcore/blob/main/.editorconfig