Skip to content

v2.1.0

Compare
Choose a tag to compare
@benquarmby benquarmby released this 17 Jan 05:39
· 25 commits to master since this release

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: