Skip to content

Commit b9709dd

Browse files
committed
Update .editorconfig file
1 parent 48def32 commit b9709dd

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.editorconfig

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Version: 1.4.0 (Using https://semver.org/)
2-
# Updated: 2020-01-28
1+
# Version: 1.5.0 (Using https://semver.org/)
2+
# Updated: 2020-03-09
33
# See https://github.com/RehanSaeed/EditorConfig/releases for release notes.
44
# See https://github.com/RehanSaeed/EditorConfig for updates to this file.
55
# See http://EditorConfig.org for more information about .editorconfig files.
@@ -28,15 +28,15 @@ trim_trailing_whitespace = true
2828
indent_style = tab
2929

3030
# Visual Studio XML Project Files
31-
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
31+
[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
3232
indent_size = 2
3333

34-
# Various XML Configuration Files
34+
# XML Configuration Files
3535
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
3636
indent_size = 2
3737

3838
# JSON Files
39-
[*.{json,json5}]
39+
[*.{json,json5,webmanifest}]
4040
indent_size = 2
4141

4242
# YAML Files
@@ -48,7 +48,7 @@ indent_size = 2
4848
trim_trailing_whitespace = false
4949

5050
# Web Files
51-
[*.{htm,html,js,ts,tsx,css,sass,scss,less,svg,vue}]
51+
[*.{htm,html,js,jsm,ts,tsx,css,sass,scss,less,svg,vue}]
5252
indent_size = 2
5353

5454
# Batch Files
@@ -59,14 +59,18 @@ end_of_line = crlf
5959
[*.sh]
6060
end_of_line = lf
6161

62+
# Makefiles
63+
[Makefile]
64+
indent_style = tab
65+
6266
##########################################
6367
# .NET Language Conventions
6468
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions
6569
##########################################
6670

6771
# .NET Code Style Settings
6872
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#net-code-style-settings
69-
[*.{cs,csx,cake,vb}]
73+
[*.{cs,csx,cake,vb,vbx}]
7074
# "this." and "Me." qualifiers
7175
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#this-and-me
7276
dotnet_style_qualification_for_field = true:warning
@@ -111,6 +115,8 @@ dotnet_code_quality_unused_parameters = all:warning
111115
# More style options (Undocumented)
112116
# https://github.com/MicrosoftDocs/visualstudio-docs/issues/3641
113117
dotnet_style_operator_placement_when_wrapping = end_of_line
118+
# https://github.com/dotnet/roslyn/pull/40070
119+
dotnet_style_prefer_simplified_interpolation = true:warning
114120

115121
# C# Code Style Settings
116122
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#c-code-style-settings
@@ -222,7 +228,7 @@ csharp_preserve_single_line_blocks = true
222228
# https://docs.microsoft.com/visualstudio/ide/editorconfig-naming-conventions
223229
##########################################
224230

225-
[*.{cs,csx,cake,vb}]
231+
[*.{cs,csx,cake,vb,vbx}]
226232

227233
##########################################
228234
# Styles

0 commit comments

Comments
 (0)