Skip to content

Commit 1d6bdd8

Browse files
committed
Remove S6678
1 parent 48742e3 commit 1d6bdd8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ and adheres to a project-specific [Versioning](/README.md).
2727
- S6674: Log message template should be syntactically correct
2828
- S6675: "Trace.WriteLineIf" should not be used with "TraceSwitch" levels
2929
- S6677: Message template placeholders should be unique
30-
- S6678: Use PascalCase for named placeholders
3130
- S6781: JWT secret keys should not be disclosed
3231
- S6930: Backslash should be avoided in route templates
3332
- S6932: Use model binding instead of reading raw request data

build/Neolution.CodeAnalysis.globalconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Top level entry required to mark this as a global AnalyzerConfig file
1+
# Top level entry required to mark this as a global AnalyzerConfig file
22
# NOTE: Do not create section headers for configuration entries
33
is_global = true
44

@@ -274,6 +274,10 @@ dotnet_diagnostic.S6608.severity = none
274274
; This rule has no effect for our projects, since we mainly use Endpoints which limits developers to only implement one action per "Controller".
275275
dotnet_diagnostic.S6931.severity = none
276276

277+
# S6678: Use PascalCase for named placeholders
278+
; Team decided that enforcing this rule is not worth the effort
279+
dotnet_diagnostic.S6678.severity = none
280+
277281
# S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting
278282
; This is handled by a custom model binder in our project templates that produces a bad request response in case of under-posting
279283
dotnet_diagnostic.S6964.severity = none

0 commit comments

Comments
 (0)