diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-11-23 16:56:41 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-11-27 14:13:31 +0100 |
| commit | 060fb5f13cd4842c6655a6286ad2c76b3c1e1349 (patch) | |
| tree | 98dd6ac081887dbbe0f3dc904813cdc1b60c86e1 | |
| parent | 556cc8062debd5370ef907b0c78e8636356a8068 (diff) | |
Add stylecop.json file
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Directory.Build.props | 1 | ||||
| -rw-r--r-- | stylecop.json | 9 |
3 files changed, 10 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 9e9fae7bf..fd8e1f314 100644 --- a/.gitignore +++ b/.gitignore @@ -164,7 +164,6 @@ AppPackages/ sql/ *.Cache ClientBin/ -[Ss]tyle[Cc]op.* ~$* *~ *.dbmdl diff --git a/Directory.Build.props b/Directory.Build.props index efcfb7224..f812f4419 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.json new file mode 100644 index 000000000..6da4bf51d --- /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 + } + } +} |
