Improve xml:S1120 to also consider continuation indents

Practical code example (Android project, strings.xml file) that causes violations:

I consider this to be perfectly valid indentation as the string did not fit on one line. The rule, however, is simple and does not care whether it is a continuation or not

Hi Alix,

thanks for reporting!

You’re right, the line should be considered a continuation as the content starts on the same line as the tag.

I created a ticket for this issue.

BR,
Marco

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.