From edb356d81bf68dc868c5bb8188d454c0a3113957 Mon Sep 17 00:00:00 2001 From: max-ieremenko Date: Sat, 2 Nov 2024 13:15:39 +0100 Subject: [PATCH] add stylecop.json --- Sources/Directory.Build.props | 5 +++-- Sources/stylecop.json | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Sources/stylecop.json diff --git a/Sources/Directory.Build.props b/Sources/Directory.Build.props index c1bf4f6..71aabe6 100644 --- a/Sources/Directory.Build.props +++ b/Sources/Directory.Build.props @@ -4,9 +4,9 @@ true AnyCPU - ..\StyleCope.ruleset + $(MSBuildThisFileDirectory)StyleCope.ruleset true - ..\SqlDatabase.snk + $(MSBuildThisFileDirectory)SqlDatabase.snk latest enable enable @@ -39,6 +39,7 @@ + diff --git a/Sources/stylecop.json b/Sources/stylecop.json new file mode 100644 index 0000000..42af410 --- /dev/null +++ b/Sources/stylecop.json @@ -0,0 +1,8 @@ +{ + //"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json" + "settings": { + "orderingRules": { + "systemUsingDirectivesFirst": true + } + } +} \ No newline at end of file