Skip to content

check for whitespace after a line continuation character #82

@sellersj

Description

@sellersj

Feature request
If you have a continuation character, but it has trailing whitespace, it won't pick up the next line properly. This should be an error.

e.g.
my.key=This is a line but
this should be part of the value

If there is whitespace after the backslash, it won't pick up the second line.

I looked through the sonar-jproperties-custom-rules-plugin trying to figure out how to implement this, but I can't see where you could have the raw file to check for this.

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions