From 0a2e69220e95ce410e00c39b7c00b1d91826a9d8 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Thu, 1 Apr 2021 22:16:03 +0200 Subject: [PATCH] style: add some more suppressions for annoying style --- Dalamud/GlobalSuppressions.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dalamud/GlobalSuppressions.cs diff --git a/Dalamud/GlobalSuppressions.cs b/Dalamud/GlobalSuppressions.cs new file mode 100644 index 000000000..f76f6110e --- /dev/null +++ b/Dalamud/GlobalSuppressions.cs @@ -0,0 +1,9 @@ +// 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. + +using System.Diagnostics.CodeAnalysis; + +[assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "I like regions", Scope = "namespace", Target = "~N:Dalamud")] +[assembly: SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1503:Braces should not be omitted", Justification = "This is annoying", Scope = "namespace", Target = "~N:Dalamud")]