Enable SA1507: Code should not contain multiple blank lines in a row (#14136)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md
This commit is contained in:
parent
f14c76aab9
commit
d92984106a
|
@ -1374,7 +1374,7 @@ dotnet_diagnostic.SA1505.severity = none
|
|||
dotnet_diagnostic.SA1506.severity = none
|
||||
|
||||
# SA1507: Code should not contain multiple blank lines in a row
|
||||
dotnet_diagnostic.SA1507.severity = none
|
||||
dotnet_diagnostic.SA1507.severity = warning
|
||||
|
||||
# SA1508: Closing braces should not be preceded by blank line
|
||||
dotnet_diagnostic.SA1508.severity = none
|
||||
|
|
|
@ -9227,7 +9227,6 @@ namespace System.Management.Automation.Runspaces
|
|||
#if UNIX
|
||||
#region UnixStat
|
||||
|
||||
|
||||
if (ExperimentalFeature.IsEnabled("PSUnixFileStat"))
|
||||
{
|
||||
typeName = @"System.IO.FileSystemInfo";
|
||||
|
|
|
@ -185,7 +185,6 @@ namespace Microsoft.PowerShell
|
|||
// We can reuse this value later to prevent needing to call a .NET API
|
||||
// to generate our exec invocation.
|
||||
|
||||
|
||||
// We don't care about argc's value, since argv[0] must always exist.
|
||||
// Skip over argc, but remember where exec_path is for later
|
||||
executablePathPtr = IntPtr.Add(procargs, sizeof(int));
|
||||
|
|
|
@ -22,7 +22,6 @@ namespace mvc.Controllers
|
|||
|
||||
Response.StatusCode = 200;
|
||||
|
||||
|
||||
StringValues dosType;
|
||||
if (Request.Query.TryGetValue("dosType", out dosType))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue