Quellcode durchsuchen

Add stylecop.json file

Bond_009 vor 2 Jahren
Ursprung
Commit
060fb5f13c
3 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
  1. 0 1
      .gitignore
  2. 1 0
      Directory.Build.props
  3. 9 0
      stylecop.json

+ 0 - 1
.gitignore

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

+ 1 - 0
Directory.Build.props

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

+ 9 - 0
stylecop.json

@@ -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
+    }
+  }
+}