-
Notifications
You must be signed in to change notification settings - Fork 251
/
GlobalSuppressions.cs
27 lines (26 loc) · 2.14 KB
/
GlobalSuppressions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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("Style","IDE0055:Fix formatting")]
[assembly: SuppressMessage("CodeQuality","IDE0079:Remove unnecessary suppression")]
[assembly: SuppressMessage("Style","IDE1006:Naming Styles")]
[assembly: SuppressMessage("Style","RCS1002:Remove braces.")]
[assembly: SuppressMessage("Style","RCS1004:Remove braces from if-else.")]
[assembly: SuppressMessage("Style","RCS1007:Add braces.")]
[assembly: SuppressMessage("Readability", "RCS1009:Use explicit type instead of 'var' (foreach variable).")]
[assembly: SuppressMessage("Simplification","RCS1010:Use 'var' instead of explicit type (when the type is obvious).")]
[assembly: SuppressMessage("Usage", "RCS1016:Convert block body to expression-body (or vice versa).")]
[assembly: SuppressMessage("Naming","RCS1045:Rename private field to camel case with underscore.")]
[assembly: SuppressMessage("Readability", "RCS1052:Declare each attribute separately.")]
[assembly: SuppressMessage("Readability", "RCS1056:Avoid usage of using alias directive.")]
[assembly: SuppressMessage("Maintainability","RCS1060:Declare each type in separate file.")]
[assembly: SuppressMessage("Style","RCS1064:Avoid usage of for statement to create an infinite loop.")]
[assembly: SuppressMessage("Formatting", "RCS1100:Format documentation summary on a single line.")]
[assembly: SuppressMessage("Style","RCS1111:Add braces to switch section with multiple statements.")]
[assembly: SuppressMessage("Style","RCS1126:Add braces to if-else.")]
[assembly: SuppressMessage("Readability","RCS1162:Avoid chain of assignments.")]
[assembly: SuppressMessage("Simplification","RCS1176:Use 'var' instead of explicit type (when the type is not obvious).")]
[assembly: SuppressMessage("Simplification", "RCS1177:Use 'var' instead of explicit type (in foreach).")]
[assembly: SuppressMessage("Usage","RCS1223:Mark publicly visible type with DebuggerDisplay attribute.")]