Skip to content

Releases: benquarmby/jslintnet

v2.3.0

07 Aug 05:15
Compare
Choose a tag to compare

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:

image

{
  "version": "2.3.0",
  "options": {
    "single": true
  }
}

Issues:

  • #27 Support "single" option.

Downloads:

v2.2.2

22 Apr 23:22
Compare
Choose a tag to compare

Updated JSLint to edition 2016-04-08.

  • Handles Date.UTC edge case. See #26.

Downloads:

v2.2.1

05 Mar 00:01
Compare
Choose a tag to compare

Updated JSLint to edition 2016-03-08.

  • Restores toleration of leading semicolon.

Downloads:

v2.2.0

31 Jan 03:56
Compare
Choose a tag to compare

As of edition 2016-01-16, JSLint warns against declaring multiple variables in a single var, let, or const statement. Check the Google+ community to see the original announcement and get involved in the discussion.

The following code will now produce a warning:

var first = true,
    second = false;

And should ideally be written as:

var first = true;
var second = false;

While this may seem like a striking about-face from the "old" version, JSLint has allowed either form ever since the ES6 rewrite back in May of 2015. With the advent of let and const (and a smarter JSLint), grouping all variables within a single statement is neither necessary nor recommended.

To tolerate combined var, let or const statements, make use of the new multivar option (issue #20) which is now fully supported in JSLint.NET 2.2.0:

image

{
  "version": "2.2.0",
  "options": {
    "multivar": true
  }
}

Issues:

  • #20 Support multivar option.

Downloads:

v2.1.0

17 Jan 05:39
Compare
Choose a tag to compare

Version 2.1.0 adds first class support for the property directive that JSLint can generate. In particular, JSLint.NET for Visual Studio has a new "Generate Property Directive" context menu item within the code editor.

image

As the name implies, this will inject (or replace) a directive based on all the property names in the current JavaScript file.

/*property
    getElementsByTagName, getTime, hasOwnProperty, id, indexOf, inited,
    removeChild, replace, require, requireModules, requireType, shift, shim,
    unnormalized, uri, url, usingExports, waitSeconds
*/

This should be particularly helpful with Angular app development, since it relies on property names with dangling special characters (see #12 and #16). Property names within this directive are considered deliberate and exempt from quality checks.

Issues:

  • #14 Generate property directive.

Downloads:

v2.0.4

27 Dec 02:48
Compare
Choose a tag to compare

Updated JSLint to edition 2015-12-26.

  • Allows "arguments" when not using ES6.
  • Includes "directives" in output.

Downloads:

v2.0.3

05 Oct 09:07
Compare
Choose a tag to compare

Updated JSLint to edition 2015-10-02.

Downloads:

v2.0.2

15 Sep 08:21
Compare
Choose a tag to compare

Wraps the latest ES6 version of JSLint (edition 2015-08-22). See the upgrade announcement for more.

Issues:

  • #11 Error when launching Visual Studio

Downloads:

v2.0.1

13 Sep 10:10
Compare
Choose a tag to compare

Wraps the latest ES6 version of JSLint (edition 2015-08-22). See the upgrade announcement for more.

Issues:

  • #3 ES6 Support

Downloads:

v2.0.0-beta7

29 Aug 09:03
Compare
Choose a tag to compare
v2.0.0-beta7 Pre-release
Pre-release

Wraps the latest ES6 version of JSLint (edition 2015-07-10). See the upgrade announcement and beta page for more information.

Issues:

  • #9 Fixed global variables

Downloads: