Skip to content

Commit

Permalink
Attempt to use StyleCop only for on
Browse files Browse the repository at this point in the history
  • Loading branch information
asimmon committed Feb 28, 2024
1 parent 5a8ea8f commit 2574a63
Show file tree
Hide file tree
Showing 3 changed files with 990 additions and 0 deletions.
1 change: 1 addition & 0 deletions Workleap.DotNet.CodingStandards.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<dependencies>
<dependency id="Microsoft.CodeAnalysis.BannedApiAnalyzers" version="3.3.4" />
<dependency id="Microsoft.CodeAnalysis.NetAnalyzers" version="8.0.0" />
<dependency id="StyleCop.Analyzers" version="1.2.0-beta.556" />
</dependencies>
</metadata>
<files>
Expand Down
3 changes: 3 additions & 0 deletions src/build/Workleap.DotNet.CodingStandards.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

<!-- .NET analyzers configuration only for test projects -->
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)\..\files\5_TestProjectsAnalyzers.editorconfig" Condition="'$(IsTestProject)' == 'true'" />

<!-- Configure StyleCop, which is only included to fill the gap with a very few rules that are not available out of the box in .NET analyzers -->
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)\..\files\6_StyleCop.editorconfig" />
</ItemGroup>

<!-- Banned Symbols -->
Expand Down
Loading

0 comments on commit 2574a63

Please sign in to comment.