Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .globalconfig
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ dotnet_diagnostic.IDE0034.severity = silent
dotnet_diagnostic.IDE0035.severity = silent

# OrderModifiers
dotnet_diagnostic.IDE0036.severity = warning
dotnet_diagnostic.IDE0036.severity = suggestion

# UseInferredMemberName
dotnet_diagnostic.IDE0037.severity = silent
Expand Down Expand Up @@ -868,7 +868,7 @@ dotnet_diagnostic.IDE0046.severity = silent
dotnet_diagnostic.IDE0047.severity = silent

# AddRequiredParentheses
dotnet_diagnostic.IDE0048.severity = warning
dotnet_diagnostic.IDE0048.severity = suggestion

# PreferBuiltInOrFrameworkType
dotnet_diagnostic.IDE0049.severity = silent
Expand Down Expand Up @@ -943,7 +943,7 @@ dotnet_diagnostic.IDE0071.severity = silent
dotnet_diagnostic.IDE0072.severity = silent

# FileHeaderMismatch
dotnet_diagnostic.IDE0073.severity = warning
dotnet_diagnostic.IDE0073.severity = suggestion

# UseCoalesceCompoundAssignment
dotnet_diagnostic.IDE0074.severity = silent
Expand Down
4 changes: 4 additions & 0 deletions PowerShell.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,8 @@
<PropertyGroup>
<Features>strict</Features>
</PropertyGroup>

<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
</Project>
4 changes: 4 additions & 0 deletions test/Test.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<Features>strict</Features>
</PropertyGroup>

<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>

<PropertyGroup Condition=" '$(IsWindows)' != 'true' ">
<DefineConstants>$(DefineConstants);UNIX</DefineConstants>
</PropertyGroup>
Expand Down