Skip to content

Commit

Permalink
Add root to .editorconfig (microsoft#3763)
Browse files Browse the repository at this point in the history
  • Loading branch information
krschau authored Sep 4, 2024
1 parent 04b1ed1 commit 5759c6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# You can modify the rules from these initially generated values to suit your own policies.
# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference.

# top-most EditorConfig file for this level
root = true

[*]
trim_trailing_whitespace = true

[*.cs]

file_header_template = Copyright (c) Microsoft Corporation.\r\nLicensed under the MIT License.
Expand Down Expand Up @@ -132,7 +138,6 @@ csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = true:silent

[*.{cs,vb}]
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
indent_size = 4
Expand Down Expand Up @@ -231,4 +236,3 @@ spelling_exclusion_path = .\exclusion.dic

# CS8305: Type is for evaluation purposes only and is subject to change or removal in future updates.
dotnet_diagnostic.CS8305.severity = suggestion

0 comments on commit 5759c6a

Please sign in to comment.