As of edition 2016-06-09, JSLint warns against the use of single quotes to enclose string literals. Check the Google+ community to follow the discussion.
The following code will now produce a warning:
var value = 'a string literal';
And should ideally be written as:
var value = "a string literal";
To tolerate single quote strings, make use of the new single
option (issue #27) which is supported in JSLint.NET 2.3.0:
{
"version": "2.3.0",
"options": {
"single": true
}
}
Issues:
- #27 Support "single" option.
Downloads:
- JSLint.NET for MSBuild from NuGet
- JSLint.NET for Visual Studio from Visual Studio Gallery