Exterminates redundant and useless whitespace 🔥
By default, all rules are of Error
severity. So they will fail the build, a very conscious decision.
Add the following in any ItemGroup in your csproj:
<PackageReference Include="MR.Analyzers.Whitespace" Version="{version}" PrivateAssets="All" ExcludeAssets="compile" />
WS1000
: AvoidTrailingWhitespace: Analyzer/Fixer for trailing whitespaceWS1001
: AddFinalNewLine: Analyzer/Fixer for inserting a newline at the end of the file