The Free Software Media System - Server Backend & API
Add stylecop.json file
Bond_009060fb5f13cd4
diff --git a/.gitignore b/.gitignoreindex 9e9fae7bfc..fd8e1f314b 100644--- a/.gitignore+++ b/.gitignore@@ -164,7 +164,6 @@ AppPackages/sql/*.CacheClientBin/-[Ss]tyle[Cc]op.*~$**~*.dbmdldiff --git a/Directory.Build.props b/Directory.Build.propsindex efcfb72243..f812f44190 100644--- a/Directory.Build.props+++ b/Directory.Build.props@@ -16,6 +16,7 @@<ItemGroup><AdditionalFiles Include="$(SolutionDir)/BannedSymbols.txt" />+ <AdditionalFiles Include="$(SolutionDir)/stylecop.json" /></ItemGroup></Project>diff --git a/stylecop.json b/stylecop.jsonnew file mode 100644index 0000000000..6da4bf51df--- /dev/null+++ b/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+ }+ }+}