Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Reference: See "trailing" in http://www.jshint.com/docs/

      Title

      Avoid trailing whitespaces

      Severity

      Major

      Description

      Trailing whitespaces are simply useless and should not stay in code. In JavaScript, they can even be source of nasty bugs with multi-line strings.

      If you encounter violations 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.

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

      Message

      Remove the useless trailing whitespaces at the end of this line.

      Activated?

      Yes

      Cardinality

      Single

        Activity

        Hide
        Fabrice Bellingard added a comment -

        Manually tested.

        Show
        Fabrice Bellingard added a comment - Manually tested.
        Hide
        Evgeny Mandrikov added a comment -

        Integration tests were updated.

        Show
        Evgeny Mandrikov added a comment - Integration tests were updated.

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: