/EditorConfig

A sample editorconfig file for use with .NET / C# applications

MIT LicenseMIT

EditorConfig

A sample editorconfig file for use with .NET / C# applications.

You're welcome to use this for your own projects. Please limit issues to actual errors. If you have your own preferences, feel free to fork this and host your own.

Learn More

Why Indent Size of 2

Code is often shared. Whether in a blog post, on a Slack or Discord channel, on social media, or in a printed book, excessive indentation makes it hard to share code. I hate horizontal scrolling, so I prefer smaller indentation defaults and (when things get long) breaking longer lines so they remain visible without scrolling.