Releases: Arthri/Belp.Formatting
Releases · Arthri/Belp.Formatting
v1.1.1
v1.1.0
🆕 Features
- Added overrides for TUnit-based test projects
- Automatically suppressed
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. - Automatically suppressed
CA1822: Mark members as static, because TUnit test cases need to be instance methods despite often not accessing instance data. - Automatically suppressed
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 theSuppressMissingDocumentationWarningsproperty to false. - Automatically suppressed
IDE0058: Remove unnecessary expression value, because TUnit asserts return a non-void value and having to prefix all asserts with_ =unnecessarily increases verbosity. - Disabled the naming rule which required asynchronous methods to be suffixed by
Async.
- Automatically suppressed
- Automatically unregistered formatting analyzers (of
StyleCop.Analyzers.UnstableandRoslynator.Formatting.Analyzers) in builds where theEnforceCodeStyleInBuildproperty isn't set totrue. - Appended severities to all .editorconfig options which support it (such as
dotnet_style_qualification_for_field = false:warning), so that the severities of diagnostics are consistent acrossdotnet build,dotnet format, and the IDE. - Disabled
SA1512: A single-line comment within C# code is followed by a blank line., because it is situational. - Enabled
CA2022: Avoid inexact read with Stream.Read. - Enabled
CA2265: Do not compare Span<T> to null or default. - Modified
RCS1014: Use explicitly/implicitly typed arrayto prefer collection expressions. - Made NuGet security auditing mandatory.
- Updated Roslynator from
v4.12.10tov4.12.11.
🐞 Fixes
Core Release
v1.0.0 Release v1.0.0 | Core Release