From f0edd7719c00c90b5cc182c85eb0c9cb1873cfdf Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Sun, 29 Aug 2021 23:05:07 +0100 Subject: [PATCH] feat(*): Add global suppression for SA1200 --- FileRepository/GlobalSuppressions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FileRepository/GlobalSuppressions.cs b/FileRepository/GlobalSuppressions.cs index de9f0d4..59a7687 100644 --- a/FileRepository/GlobalSuppressions.cs +++ b/FileRepository/GlobalSuppressions.cs @@ -1,4 +1,4 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. @@ -8,3 +8,4 @@ using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1633:File should have header", Justification = "Not something we need at this stage - jcreek")] [assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1208:System using directives should be placed before other using directives", Justification = "I'd prefer to have the using directives in alphabetical order - jcreek")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "They are really useful, especially when used appropriately - jcreek")] +[assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1200:Using directives should be placed correctly", Justification = "I prefer the using directives outside the namespace within the file - jcreek")]