Skip to content

Commit

Permalink
Update editorconfig and build props, prefer system threading lock in …
Browse files Browse the repository at this point in the history
…C#, adjust project imports. Add Stacktrace.Build.props import and rearrange existing imports in Includes.Packages.props.
  • Loading branch information
adambajguz committed Dec 14, 2024
1 parent 197a257 commit 420fba6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ dotnet_naming_style.begins_with_i.capitalization = pascal_case
spelling_languages = en-US

csharp_style_prefer_primary_constructors = true:suggestion
csharp_prefer_system_threading_lock = true:suggestion

[*.{cs,vb}]
dotnet_style_operator_placement_when_wrapping = beginning_of_line
Expand Down
4 changes: 1 addition & 3 deletions src/props/Includes.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<Project>

<ImportGroup>
<Import Project="Analyzers.Packages.props" Condition="Exists('Analyzers.props')" />
<Import Project="PackSite.Libraries.props" Condition="Exists('PackSite.Libraries.props')" />
<Import Project="PackSite/PackSite.Libraries.props" Condition="Exists('PackSite/PackSite.Libraries.props')" />
<Import Project="Stacktrace.Build.props" Condition="Exists('Stacktrace.props')" />
</ImportGroup>

</Project>
4 changes: 3 additions & 1 deletion src/props/Includes.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<Project>

<ImportGroup>
<Import Project="Stacktrace.Build.props" Condition="Exists('Stacktrace.props')" />
<Import Project="Analyzers.Packages.props" Condition="Exists('Analyzers.props')" />
<Import Project="PackSite.Libraries.props" Condition="Exists('PackSite.Libraries.props')" />
<Import Project="PackSite/PackSite.Libraries.props" Condition="Exists('PackSite/PackSite.Libraries.props')" />
</ImportGroup>

</Project>

0 comments on commit 420fba6

Please sign in to comment.