All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.rules.javascript.TrailingWhitespace.html Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version

Trailing whitespaces are simply useless and should not stay in code. They may generate noise when comparing different versions of the same file.

If you encounter issues from this rule, this probably means that you are not using an automated code formatter - which you should if you have the opportunity to do so.

Noncompliant Code Example

// The following string will error if there is a whitespace after '\'
var str = "Hello \
World";




© 2015 - 2024 Weber Informatics LLC | Privacy Policy