SonarQube JavaScript
  1. SonarQube JavaScript
  2. SONARJS-131

Rule: Use single quote for string literals

    Details

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

      Issue Links

        Activity

        Hide
        Freddy Mallet added a comment - - edited

        Manually tested, could you just update the description :

        <p>
        The following code snippet illustrates this rule :
        </p>
        
        <pre>
            var firstParameter = "something";       //NOK
            var secondParameter = 'somethingElse';  //OK
        </pre>
        
        Show
        Freddy Mallet added a comment - - edited Manually tested, could you just update the description : <p> The following code snippet illustrates this rule : </p> <pre> var firstParameter = "something"; //NOK var secondParameter = 'somethingElse'; //OK </pre>
        Hide
        Evgeny Mandrikov added a comment -

        Done.

        Show
        Evgeny Mandrikov added a comment - Done.
        Hide
        Freddy Mallet added a comment -

        Manually tested !

        Show
        Freddy Mallet added a comment - Manually tested !

          People

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

            Dates

            • Created:
              Updated:
              Resolved: