Skip to content

Taking over runtime's C# style rule configuration#7410

Merged
lukas-lansky merged 1 commit into
dotnet:mainfrom
lukas-lansky:runtime-style
May 19, 2021
Merged

Taking over runtime's C# style rule configuration#7410
lukas-lansky merged 1 commit into
dotnet:mainfrom
lukas-lansky:runtime-style

Conversation

@lukas-lansky

@lukas-lansky lukas-lansky commented May 19, 2021

Copy link
Copy Markdown
Contributor

As discussed, we are asking people to adhere to dotnet/runtime's style guide. That guide mentions that "An EditorConfig file (.editorconfig) has been provided at the root of the runtime repository, enabling C# auto-formatting conforming to the above guidelines."

This makes it easier for one-time contributors to provide code that conforms to the guide as these settings are respected by modern IDEs. It also allows for automated refactoring to not work against the requested style.

This PR adopts the C# part of the runtime's EditorConfig file so that we get the same benefits in Arcade.

@markwilkie markwilkie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Lukas!

@lukas-lansky
lukas-lansky merged commit 750bcf3 into dotnet:main May 19, 2021
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