Skip to content

Commit 84ffd88

Browse files
committed
Convert line break formatter directive
1 parent 9e2798c commit 84ffd88

File tree

56 files changed

+109
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+109
-7
lines changed

src/CSharpGuidelinesAnalyzer.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ $left$ = $right$;</s:String>
634634
<s:Boolean x:Key="/Default/UserDictionary/Words/=Deconstructor/@EntryIndexedValue">True</s:Boolean>
635635
<s:Boolean x:Key="/Default/UserDictionary/Words/=editorconfig/@EntryIndexedValue">True</s:Boolean>
636636
<s:Boolean x:Key="/Default/UserDictionary/Words/=inheritdoc/@EntryIndexedValue">True</s:Boolean>
637+
<s:Boolean x:Key="/Default/UserDictionary/Words/=linebreaks/@EntryIndexedValue">True</s:Boolean>
637638
<s:Boolean x:Key="/Default/UserDictionary/Words/=orderby/@EntryIndexedValue">True</s:Boolean>
638639
<s:Boolean x:Key="/Default/UserDictionary/Words/=Resharper/@EntryIndexedValue">True</s:Boolean>
639640
<s:Boolean x:Key="/Default/UserDictionary/Words/=tokenized/@EntryIndexedValue">True</s:Boolean>

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/CSharpGuidelinesAnalyzer.Test.csproj.DotSettings

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/ClassDesign/AvoidStaticClassSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
using Microsoft.CodeAnalysis.Diagnostics;
55
using Xunit;
66

7+
// @formatter:keep_existing_linebreaks true
8+
79
namespace CSharpGuidelinesAnalyzer.Test.Specs.ClassDesign;
810

911
public sealed class AvoidStaticClassSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/ClassDesign/DoNotHideInheritedMemberSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using Microsoft.CodeAnalysis.Diagnostics;
44
using Xunit;
55

6+
// @formatter:keep_existing_linebreaks true
7+
68
namespace CSharpGuidelinesAnalyzer.Test.Specs.ClassDesign;
79

810
public sealed class DoNotHideInheritedMemberSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/ClassDesign/TypeShouldHaveASinglePurposeSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using Microsoft.CodeAnalysis.Diagnostics;
44
using Xunit;
55

6+
// @formatter:keep_existing_linebreaks true
7+
68
namespace CSharpGuidelinesAnalyzer.Test.Specs.ClassDesign;
79

810
public sealed class TypeShouldHaveASinglePurposeSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Documentation/AvoidInlineCommentSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
using Microsoft.CodeAnalysis.Diagnostics;
55
using Xunit;
66

7+
// @formatter:keep_existing_linebreaks true
8+
79
namespace CSharpGuidelinesAnalyzer.Test.Specs.Documentation;
810

911
public sealed class AvoidInlineCommentSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Documentation/AvoidToDoCommentSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using Microsoft.CodeAnalysis.Diagnostics;
44
using Xunit;
55

6+
// @formatter:keep_existing_linebreaks true
7+
68
namespace CSharpGuidelinesAnalyzer.Test.Specs.Documentation;
79

810
public sealed class AvoidToDoCommentSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Documentation/DocumentInternalMemberSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using Microsoft.CodeAnalysis.Diagnostics;
44
using Xunit;
55

6+
// @formatter:keep_existing_linebreaks true
7+
68
namespace CSharpGuidelinesAnalyzer.Test.Specs.Documentation;
79

810
public sealed class DocumentInternalMemberSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Framework/AvoidQuerySyntaxForSimpleExpressionSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using Microsoft.CodeAnalysis.Diagnostics;
44
using Xunit;
55

6+
// @formatter:keep_existing_linebreaks true
7+
68
namespace CSharpGuidelinesAnalyzer.Test.Specs.Framework;
79

810
public sealed class AvoidQuerySyntaxForSimpleExpressionSpecs : CSharpGuidelinesAnalysisTestFixture

src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Framework/BuildWithTheHighestWarningLevelSpecs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
using Microsoft.CodeAnalysis.Diagnostics;
44
using Xunit;
55

6+
// @formatter:keep_existing_linebreaks true
7+
68
namespace CSharpGuidelinesAnalyzer.Test.Specs.Framework;
79

810
public sealed class BuildWithTheHighestWarningLevelSpecs : CSharpGuidelinesAnalysisTestFixture

0 commit comments

Comments
 (0)