Add stylecop.json file
This commit is contained in:
parent
556cc8062d
commit
060fb5f13c
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -164,7 +164,6 @@ AppPackages/
|
||||||
sql/
|
sql/
|
||||||
*.Cache
|
*.Cache
|
||||||
ClientBin/
|
ClientBin/
|
||||||
[Ss]tyle[Cc]op.*
|
|
||||||
~$*
|
~$*
|
||||||
*~
|
*~
|
||||||
*.dbmdl
|
*.dbmdl
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AdditionalFiles Include="$(SolutionDir)/BannedSymbols.txt" />
|
<AdditionalFiles Include="$(SolutionDir)/BannedSymbols.txt" />
|
||||||
|
<AdditionalFiles Include="$(SolutionDir)/stylecop.json" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
9
stylecop.json
Normal file
9
stylecop.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user