ErythroGuild / irene

<Erythro>'s server admin bot.
Mozilla Public License 2.0
0 stars 0 forks source link

Set up a proper .editorconfig file #81

Open Ernest314 opened 2 years ago

Ernest314 commented 2 years ago

This would do wonders for enforcing code style.

Ernest314 commented 2 years ago

This seems to be missing from the default UI:

https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0036

Ernest314 commented 2 years ago

from #61: see: https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions

Ernest314 commented 2 years ago

Unfortunately, "spaces after new" seems to be a proprietary resharper-only thing :/

https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_SpacesPageSchema.html#resharper_csharp_space_before_new_parentheses