For consistency single-quotes (') are preferred to double-quotes ("). This is helpful when creating strings that include HTML.

Noncompliant Code Example

var firstParameter = "something";

Compliant Solution

var firstParameter = 'something';

Exceptions

JSX code and strings that contain single quotes are ignored.