Skip to content

Commit 59c9f73

Browse files
authored
Relax require accessibility modifiers rule for interfaces (#2411)
* Relax require accessibility modifiers rule for interfaces * Fix formatting
1 parent 5d4282a commit 59c9f73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dotnet_style_predefined_type_for_member_access = true:error
5252

5353
# .NET code style settings - Modifier preferences
5454
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-language-conventions?view=vs-2019#normalize-modifiers
55-
dotnet_style_require_accessibility_modifiers = always:warning
55+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:warning
5656
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:warning
5757
dotnet_style_readonly_field = true:warning
5858

src/HealthChecks.UI/Core/Notifications/WebHookFailureNotifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ await SaveNotificationAsync(new HealthCheckFailureNotification()
6363
{
6464
_logger.LogInformation("Webhook notification will not be sent because of user configuration");
6565
continue;
66-
};
66+
}
6767

6868
if (!isHealthy)
6969
{

0 commit comments

Comments
 (0)