JSHint 2.4.0 is released
This is a relatively big release that adds a couple of new features, fixes a lot of bugs and improves our ES6 support. I will update documentation and write a blog post about the release later this week, after the Christmas day.
- Version 2.4.0; Holidays edition (Anton Kovalyov)
- Issue #1363: Don't consider => params as undefined vars (Anton Kovalyov)
- Issue #1388: Warn about missing 'use strict' in files w/o funcs (Anton Kovalyov)
- Issue #1394: Allow var variables to shadow let variables. (Anton Kovalyov)
- Issue #1367: Make 'funcscope' recognize try/finally blocks as well (Anton Kovalyov)
- Issue #1242: Make unused option recognize constants. (Anton Kovalyov)
- Issue #1349: Remove var window from browserified files (Anton Kovalyov)
- Issue #1364: Make exported and global directive work together better (Anton Kovalyov)
- Issue #1362: Make sure 'let' variables are not treated as globals on assignment (Anton Kovalyov)
- Issue #1350: Upgrade Browserify to 3.12 (Anton Kovalyov)
- Issue #1375: Make sure _.zip always receives an array (Anton Kovalyov)
- Issue #1378: Escape special characters for better output (Anton Kovalyov)
- Issue #1431: Check whether this.right exists when parsing ++ (Anton Kovalyov)
- Issue #350: Make shadow check for outer scopes as well (Oleg Grenrus)
- Issue #1426: Make some Node globals writeable. Props to @Raynos (Anton Kovalyov)
- Issue #1415: Implement exclude-path to pass custom .jshintignore files (Raynos (Jake Verbaten))
- Issue #1391: Handle malformed package.json file (icebox)
- Issue #1417: Set inscript default to false to prevent false-positives (BenoitZugmeyer)
- Issue #1371: Move character val to end of '!=' or '==' (James Beavers)
- Issue #1374: Prevent false positives on concise methods. (Travis Kaufman)
- Issue #1352: Add an flag to extract JavaScript from HTML. (Anton Kovalyov)
- Fixed #1380: Add canvas related globals to 'browser' (Ben Alpert)
- Fixed #1314: Allow extending .jshintrc with 'extends'. (Spencer Alger)
- Fixed #1282: Relax maxlen option in some situations. (Julien Wajsberg)
- Fixed #1360: Use getOwnPropertyDescriptor to prevent failures on props like
__proto__
(Anton Kovalyov) - Fixed #1376: Export JSHINT using require from the browserified version. (Christopher Hunt)
- Fixed #1286: Make surrounding parens silence boss errors in return stmt (Julien Wajsberg)
- No issue: Fixed test command in CONTRIBUTING.md (Anton Kovalyov)
- Fixed #1324: Make sure we're not mutating passed options object. (Anton Kovalyov)
- No issue: minor refactoring (Anton Kovalyov)
- Fixed #1335: Changed message for W057 (Pamela Fox)
- Fixed #1334: fix a typo in the description of E027 (Pamela Fox)