diff --git a/GlobalSuppressions.cs b/GlobalSuppressions.cs index 18d1d354a..a2e1f90b9 100644 --- a/GlobalSuppressions.cs +++ b/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. @@ -7,6 +7,5 @@ using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.NamingRules", "SA1309:FieldNamesMustNotBeginWithUnderscore", Justification = "Reviewed.")] [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1633:File must have header", Justification = "Reviewed.")] -[assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed.")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1101:Prefix local calls with this", Justification = "Reviewed.")] -[assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1200:UsingDirectivesMustBePlacedWithinNamespace", Justification = "Reviewed.")] \ No newline at end of file +[assembly: SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1200:UsingDirectivesMustBePlacedWithinNamespace", Justification = "Reviewed.")] diff --git a/stylecop.json b/stylecop.json index 4daf3c645..679a86a9c 100644 --- a/stylecop.json +++ b/stylecop.json @@ -6,7 +6,11 @@ }, "documentationRules": { "companyName": "Datadog", - "documentExposedElements": true + "documentExposedElements": true, + + // TODO: document everything and remove this exclusions + "documentInternalElements": false, + "documentInterfaces": false } } } diff --git a/test/GlobalSuppressions.cs b/test/GlobalSuppressions.cs index f5de669a2..af2a58b27 100644 --- a/test/GlobalSuppressions.cs +++ b/test/GlobalSuppressions.cs @@ -1,8 +1,9 @@ -// 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. using System.Diagnostics.CodeAnalysis; -[assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1652:SA1652EnableXmlDocumentationOutput", Justification = "Reviewed.")] \ No newline at end of file +[assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed.")] +[assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1652:EnableXmlDocumentationOutput", Justification = "Reviewed.")]