Change razor formatting config to prevent VS formatting problems
This commit is contained in:
parent
106956157b
commit
9e7cea74f4
|
@ -4,11 +4,16 @@ root = true
|
|||
insert_final_newline = true
|
||||
max_line_length = 100
|
||||
|
||||
[*.{cs,cshtml,razor,html,xml,js,css,csproj}]
|
||||
[*.{cs,cshtml,html,xml,js,css,csproj}]
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.razor]
|
||||
indent_style = space
|
||||
indent_width = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.cs]
|
||||
csharp_new_line_before_open_brace = none
|
||||
dotnet_style_qualification_for_field = true
|
||||
|
|
Loading…
Reference in a new issue