This release introduces bug fixes and general improvements. In addition to that, JSHint now allows you to ignore parts of the file or specific line using the special /*jshint ignore */
directive. See #826 and #870 for more information.
Changelog
- Version 2.2.0 (Anton Kovalyov)
- Fixed #1209: Make 'camelcase' ignore trailing underscores. (Nikas Praninskas)
- Fixed #1277: Special treatment for 'new this()' (Dario Sneidermanis)
- Fixed #826, fixed #870: Add jshint ignore directive (Daniel Miladinov)
- Fixed #1221: Add 'globals' to the valOptions list (willhlaw)
- Fixed #858: Allow 'break' and blocks in switch cases. (Szu-Yu Chen (Aknow))
- No issue: added text about JSHint 3 (Anton Kovalyov)
- Fixed #1298: Add data/ directory to the NPM package whitelist (imkira)
- Fixed #1287: Add URL global to the browser environment (Anton Kovalyov)
- Make #!/usr/bin/env node imply node:true (Rob Wu)
- Fixes #935: Detect the switch indentation style and use that. (Anton Kovalyov)
- Fixed #1297: Improve Unicode support in the identifier parser (Mathias Bynens)
- No issue: track dist/ directory. (Anton Kovalyov)