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

Fixes Analyzer Rules (Core Projects) #13964

Merged
merged 36 commits into from
Jul 19, 2023
Merged

Fixes Analyzer Rules (Core Projects) #13964

merged 36 commits into from
Jul 19, 2023

Conversation

jtkech
Copy link
Member

@jtkech jtkech commented Jul 9, 2023

No description provided.

@jtkech jtkech changed the title Fixes Analyzer rules in 'OC' and 'OC.Abstractions' Fixes Analyzer rules 1 in 'OC' and 'OC.Abstractions' Jul 10, 2023
@jtkech jtkech changed the title Fixes Analyzer rules 1 in 'OC' and 'OC.Abstractions' Fixes Analyzer Rules (Core Projects) Jul 16, 2023
…ech/oc-analyzer

# Conflicts:
#	src/OrchardCore/OrchardCore.ContentManagement.Display/Razor/OrchardRazorHelperExtensions.cs
Copy link
Member

@Piedone Piedone left a comment

Choose a reason for hiding this comment

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

Great! Isn't this and the other PRs addressing #7950 and #12929.

@@ -16,7 +16,9 @@ public static class SignalExtensions
/// <summary>
/// Adds a Signal (if not already present) to be sent at the end of the shell scope.
/// </summary>
#pragma warning disable IDE0060 // Remove unused parameter
Copy link
Member

Choose a reason for hiding this comment

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

Comment suppressions so it's apparent why there are there.

Copy link
Member Author

Choose a reason for hiding this comment

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

No problem, I can remove these warnings by using the discard symbol _

So I will remove all these pragmas ;)

@jtkech
Copy link
Member Author

jtkech commented Jul 17, 2023

Great! Isn't this and the other PRs addressing #7950 and #12929.

No, only based on the current .editorconfig and the default Analyzers we have, but yes we can think about more rules and more analyzers, e.g. about code blocks and comments formatting.

@Piedone
Copy link
Member

Piedone commented Jul 17, 2023

OK, thanks!

@jtkech jtkech merged commit db16075 into main Jul 19, 2023
@jtkech jtkech deleted the jtkech/oc-analyzer branch July 19, 2023 02:11
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.

2 participants