diff --git a/PROFiLiX.Web.Shared.Tests/GlobalSuppressions.cs b/PROFiLiX.Web.Shared.Tests/GlobalSuppressions.cs new file mode 100644 index 0000000..58388fe --- /dev/null +++ b/PROFiLiX.Web.Shared.Tests/GlobalSuppressions.cs @@ -0,0 +1,8 @@ +// +// Copyright (c) bretty.me.uk. All rights reserved. +// + +using System.Diagnostics.CodeAnalysis; + +[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "Not relevant in this solution")] +[assembly: SuppressMessage("StyleCop.CSharp.NamingRules", "SA1309:Field names should not begin with underscore", Justification = "Required in this solution")] diff --git a/PROFiLiX.Web.Shared.Tests/PROFiLiX.Web.Shared.Tests.csproj b/PROFiLiX.Web.Shared.Tests/PROFiLiX.Web.Shared.Tests.csproj index 4f2e2ee..aaa1436 100644 --- a/PROFiLiX.Web.Shared.Tests/PROFiLiX.Web.Shared.Tests.csproj +++ b/PROFiLiX.Web.Shared.Tests/PROFiLiX.Web.Shared.Tests.csproj @@ -10,12 +10,25 @@ - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/PROFiLiX.Web.Shared.Tests/stylecop.json b/PROFiLiX.Web.Shared.Tests/stylecop.json new file mode 100644 index 0000000..1efc270 --- /dev/null +++ b/PROFiLiX.Web.Shared.Tests/stylecop.json @@ -0,0 +1,14 @@ +{ + // ACTION REQUIRED: This file was automatically added to your project, but it + // will not take effect until additional steps are taken to enable it. See the + // following page for additional information: + // + // https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/EnableConfiguration.md + + "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", + "settings": { + "documentationRules": { + "companyName": "bretty.me.uk" + } + } +}