Add stylecop.json file

This commit is contained in:
Bond_009 2022-11-23 16:56:41 +01:00
parent 556cc8062d
commit 060fb5f13c
3 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View file

@ -164,7 +164,6 @@ AppPackages/
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl

View file

@ -16,6 +16,7 @@
<ItemGroup>
<AdditionalFiles Include="$(SolutionDir)/BannedSymbols.txt" />
<AdditionalFiles Include="$(SolutionDir)/stylecop.json" />
</ItemGroup>
</Project>

9
stylecop.json Normal file
View file

@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"layoutRules": {
"newlineAtEndOfFile": "require",
"allowDoWhileOnClosingBrace": true
}
}
}