Skip to content

Commit

Permalink
Add .editorconfig for csharp directory
Browse files Browse the repository at this point in the history
Nicer experience for e.g. VS Code
  • Loading branch information
Jensaarai authored and jskeet committed Mar 26, 2022
1 parent 10df21e commit fb6016e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions csharp/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true

# C# files
[*.cs]

#### Core EditorConfig Options ####

# Indentation and spacing
indent_size = 4
indent_style = space
tab_width = 4

# New line preferences
# See https://github.com/protocolbuffers/protobuf/issues/9526
#end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = true

0 comments on commit fb6016e

Please sign in to comment.