diff --git a/.editorconfig b/.editorconfig index f1502e24c..1b50c1aa6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -459,10 +459,6 @@ dotnet_naming_rule.parameters_rule.severity = warning # https://github.com/DotNetAnalyzers/StyleCopAnalyzers ########################################## -# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md -# Single line comment should begin with a space -dotnet_diagnostic.SA1005.severity = suggestion - # https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1101.md # Prefix local calls with this dotnet_diagnostic.SA1101.severity = suggestion diff --git a/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs b/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs index a4ff5192f..f475d3658 100644 --- a/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs @@ -184,8 +184,8 @@ private bool TryToCreateGoComponentFromModLine(string line, out GoComponent goCo return true; } - //For more information about the format of the go.sum file - //visit https://golang.org/cmd/go/#hdr-Module_authentication_using_go_sum + // For more information about the format of the go.sum file + // visit https://golang.org/cmd/go/#hdr-Module_authentication_using_go_sum private void ParseGoSumFile( ISingleFileComponentRecorder singleFileComponentRecorder, IComponentStream file) diff --git a/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs b/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs index 74be5e4ba..1d19c78ba 100644 --- a/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs +++ b/src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs @@ -132,7 +132,7 @@ await this.DockerService.TryPullImageAsync(image, cancellationToken))) var image = kvp.Key; var baseImageLayerCount = await this.GetBaseImageLayerCount(internalContainerDetails, image, cancellationToken); - //Update the layer information to specify if a layer was fond in the specified baseImage + // Update the layer information to specify if a layer was fond in the specified baseImage internalContainerDetails.Layers = internalContainerDetails.Layers.Select(layer => new DockerLayer { DiffId = layer.DiffId,