-
Notifications
You must be signed in to change notification settings - Fork 0
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
Release v1.1.0 #2
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
🆕 Features
CA1062: Validate arguments of public methods
, because it activates on TUnit test cases, which need to be public but are not meant to be consumed. Therefore, the security and integrity gained by validating arguments is negligible.CA1822: Mark members as static
, because TUnit test cases need to be instance methods despite often not accessing instance data.CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
, because it activates on TUnit test cases, which need to be public but are not meant to be consumed. The suppression can be removed by setting theSuppressMissingDocumentationWarnings
property to false.IDE0058: Remove unnecessary expression value
, because TUnit asserts return a non-void value and having to prefix all asserts with_ =
unnecessarily increases verbosity.Async
.StyleCop.Analyzers.Unstable
andRoslynator.Formatting.Analyzers
) in builds where theEnforceCodeStyleInBuild
property isn't set totrue
.dotnet_style_qualification_for_field = false:warning
), so that the severities of diagnostics are consistent acrossdotnet build
,dotnet format
, and the IDE.SA1512: A single-line comment within C# code is followed by a blank line.
, because it is situational.CA2022: Avoid inexact read with Stream.Read
.CA2265: Do not compare Span<T> to null or default
.RCS1014: Use explicitly/implicitly typed array
to prefer collection expressions.v4.12.10
tov4.12.11
.🐞 Fixes