Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding publicAPI, bannedApi, and Async analyzers #136

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

jmprieur
Copy link
Contributor

@jmprieur jmprieur commented Sep 17, 2024

Adding publicAPI, bannedApi, and Async analyzers

Before starting changes in the public API for the 1P extensibility

@jmprieur jmprieur requested a review from a team as a code owner September 17, 2024 22:59
@@ -115,7 +115,7 @@ namespace Microsoft.Identity.Abstractions
/// </code>
/// </example>
<# if (framework != "net8"){ #>
#if NET6_0_OR_GREATER
#if NET8_0_OR_GREATER
Copy link
Contributor Author

@jmprieur jmprieur Sep 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't build for NET6.0 any longer.

Updating GiHub action

Signed-off-by: Jean-Marc Prieur <jmprieur@microsoft.com>
@@ -28,9 +28,17 @@
<LangVersion>12</LangVersion>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageValidationBaselineVersion>5.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
<BannedApiAnalyzersVersion>3.3.4</BannedApiAnalyzersVersion>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alignment is off

@@ -39,7 +47,8 @@
<!-- The MSAL.snk has both private and public keys -->
<DelaySign>false</DelaySign>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can simplify a bit if we don't want to have opt outs. These can go, and the conditions in the item groups can go.

@jmprieur jmprieur merged commit 09d7c4a into main Sep 18, 2024
3 of 4 checks passed
@jmprieur jmprieur deleted the jmprieur/addingAnalyzers branch September 18, 2024 01:13
</PropertyGroup>
<ItemGroup Label="Build Tools"
Condition="$([MSBuild]::IsOsPlatform('Windows'))">
<PackageReference Include="Microsoft.SourceLink.GitHub"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants