Skip to content

Commit 6485abc

Browse files
committed
Implement SA1137 (ElementsShouldHaveTheSameIndentation)
1 parent 6f52625 commit 6485abc

4 files changed

Lines changed: 417 additions & 0 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/ReadabilityResources.Designer.cs

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/ReadabilityResources.resx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,15 @@
483483
<data name="SA1134Title" xml:space="preserve">
484484
<value>Attributes must not share line</value>
485485
</data>
486+
<data name="SA1137Description" xml:space="preserve">
487+
<value>Elements at the same level in the syntax tree should have the same indentation.</value>
488+
</data>
489+
<data name="SA1137MessageFormat" xml:space="preserve">
490+
<value>Elements should have the same indentation</value>
491+
</data>
492+
<data name="SA1137Title" xml:space="preserve">
493+
<value>Elements should have the same indentation</value>
494+
</data>
486495
<data name="SX1101CodeFix" xml:space="preserve">
487496
<value>Remove 'this.' prefix</value>
488497
</data>

0 commit comments

Comments
 (0)