forked from dotnet/aspnetcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding reference to MessagePackAnalyzer to check for MsgPack001 / Msg…
…Pack002 (Banned API) (dotnet#19989)
- Loading branch information
Showing
6 changed files
with
41 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/SignalR/common/Protocols.MessagePack/src/.editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# EditorConfig is awesome:http://EditorConfig.org | ||
# NOTE: Requires **VS2019 16.3** or later | ||
|
||
# New Rule Set | ||
# Description: | ||
# MsgPack001 : MsgPack001 Avoid static default for MessagePackSerializerOptions | ||
# MsgPack002 : MsgPack002 Avoid using a mutable static value for MessagePackSerializerOptions | ||
|
||
# Code files | ||
[*.{cs,vb}] | ||
dotnet_diagnostic.MsgPack001.severity = error | ||
dotnet_diagnostic.MsgPack002.severity = error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters