1- # Version: 2.1 .0 (Using https://semver.org/)
2- # Updated: 2021-03-03
1+ # Version: 3.0 .0 (Using https://semver.org/)
2+ # Updated: 2021-08-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.
@@ -48,7 +48,7 @@ indent_size = 2
4848trim_trailing_whitespace = false
4949
5050# Web Files
51- [* .{htm,html,js,jsm,ts,tsx,css,sass,scss,less,svg,vue} ]
51+ [* .{htm,html,js,jsm,ts,tsx,css,sass,scss,less,pcss, svg,vue} ]
5252indent_size = 2
5353
5454# Batch Files
@@ -97,7 +97,7 @@ dotnet_style_readonly_field = true:warning
9797dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning
9898dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning
9999dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning
100- dotnet_style_parentheses_in_other_operators = always_for_clarity:suggestion
100+ dotnet_style_parentheses_in_other_operators = never_if_unnecessary:warning
101101# Expression-level preferences
102102dotnet_style_object_initializer = true :warning
103103dotnet_style_collection_initializer = true :warning
@@ -121,7 +121,10 @@ dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
121121# If you use StyleCop, you'll need to disable SA1636: File header copyright text should match.
122122# dotnet_diagnostic.SA1636.severity = none
123123# Undocumented
124- dotnet_style_operator_placement_when_wrapping = end_of_line
124+ dotnet_style_operator_placement_when_wrapping = end_of_line:warning
125+ csharp_style_prefer_null_check_over_type_check = true :warning
126+ dotnet_style_namespace_match_folder = true :suggestion
127+ dotnet_diagnostic.IDE0130.severity = suggestion
125128
126129# C# Style Rules
127130# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules#c-style-rules
0 commit comments