Skip to content

JSLint.NET 2.0 Beta

Ben Quarmby edited this page Sep 13, 2015 · 5 revisions

Note: JSLint.NET 2.0 stable has been released. The following information will remain for posterity.

JSLint.NET 2.0 is currently in pre-release, and the first thing you should know is that it is full of breaking changes. It wraps Douglas Crockford's new ES6 version of JSLint which is a complete rewrite of the original and is itself in beta at the time of writing. Read the original announcement and follow up for more.

The second thing to note is that the new version will start at 2.0-beta5. This is to distinguish it from the [previous beta](https://jslintnet.codeplex.com/wikipage?title=Announcing JSLint.NET 2.0 Beta) which unfortunately never became stable enough to release.

You can follow the progress of JSLint.NET 2.0 Beta in the ES6 branch. This branch will be rebased against master on a semi-regular basis, so please do not depend on it.

Breaking Changes

  • The schema in JSLintNet.json required some changes to match up with the new JSLint signature. Both the JSLint.NET console and Visual Studio tools will attempt to upgrade for you, but this is a one way process. The new settings file will not be compatible with older versions of JSLint.NET.
  • Most JSLint options have been removed and a few new ones have been added. Options like "ass", "nomen" and "stupid" are gone altogether. I recommend checking the new help page for JSLint for more information.
  • The new function report from JSLint contains cyclic references and cannot be serialized to JSON like the previous version. So it was necessary to remove this feature from JSLint.NET.
Clone this wiki locally