ESLint 0.6.0 released

by Nicholas C. Zakas - 17 May 2014

We just pushed ESLint 0.6.0, which is a significant release with new features, new rules, and of course, some bug fixes.

Deprecation Notices

  • The 0.6.x ESLint will be the last to support the deprecated JSON format for .eslintignore. This was deprecated in 0.5.1 and will be removed in 0.7.0. Please change your .eslintignore files to the new plain-text format. See #761.

Breaking Changes

  • brace-style now disallows block statements where curlies are on the same line. While not strictly a breaking change, it is a significant enough change to warrant being called out in this way. (#758)
  • Node 0.8.x is no longer officially supported as of 0.6.0. We will no longer accept or fix bugs for Node 0.8.x.



  • Update: You can now use comments to enable/disable rules around certain portions of a file (#305)


  • Update: Added --rule flag to specify rules on the command line. (#692)
  • Update: Added --force to force ESLint to lint ignored files. Also, you'll now get a warning when ESLint is ignoring files that are explicitly passed on the command line.



  • Add linting of Makefile.js. (#870)
  • Add check so that documentation reflects the correct on/off default for each rule (#865)


  • Esprima to 1.2 (fixes #842) (Nicholas C. Zakas)

Complete Changelog

The following is the complete list of changes in this version:

  • Fix: Remove -r alias for --rule (fixes #882) (Nicholas C. Zakas)
  • Docs: Update dev setup, contributing, default-case descriptions (Nicholas C. Zakas)
  • Update: valid-jsdoc now allows you to optionally turn off parameter description checks (fixes #822) (Nicholas C. Zakas)
  • Breaking: brace-style now disallows block statements where curlies are on the same line (fixes #758) (Nicholas C. Zakas)
  • Add linting Makefile.js (fixes #870) (icebox)
  • add rule flag, closes #692 (George Zahariev)
  • Add check between rules doc and index (fixes #865) (icebox)
  • Add Build Next mention in integrations README. (icebox)
  • document new IIFE exception for no-extra parens added as part of #655 (Michael Ficarra)
  • (fixes #622) Add rule ID on documentation pages (Delapouite)
  • fixes #655: add IIFE exception to no-extra-parens (Michael Ficarra)
  • add new rule "no-new-require" (Wil Moore III)
  • exit with non-zero status when tests fail (fixes #858) (Márton Salomváry)
  • removed unicode zero width space character from messages (fixes #857) (Márton Salomváry)
  • Change: --rulesdir now can be specified multiple times (fixes #830) (Nicholas C. Zakas)
  • Update: Node 0.8 no longer supported (fixes #734) (Nicholas C. Zakas)
  • Update: Add typed arrays into builtin environment globals (fixes #846) (Nicholas C. Zakas)
  • Fix: Add prototype methods to global scope (fixes #700) (Nicholas C. Zakas)
  • Rule: no-restricted-modules (fixes #791) (Christian)
  • Upgrade: Esprima to 1.2 (fixes #842) (Nicholas C. Zakas)
  • Docs: reporting level 2 is an error (fixes #843) (Brandon Mills)
  • Upgrade: Esprima to 1.2, switch to using Esprima comment attachment (fixes #730) (Nicholas C. Zakas)
  • Fix: Semi rule incorrectly flagging extra semicolon (fixes #840) (Nicholas C. Zakas)
  • Build: Update Travis to only test Node 0.10 (refs #734) (Nicholas C. Zakas)
  • Add "nofunc" option (fixes #829) (Conrad Zimmerman)
  • Rule: no-inner-declarations (fixes #587) (Brandon Mills)
  • Rule 'block-scoped-var': correct scope for functions, arguments (fixes #832) (Aliaksei Shytkin)
  • Rule: default-case (fixes #787) (Aliaksei Shytkin)
  • Ignored files are excluded unless --force is passed on the CLI (Nick Fisher)
  • Fixes a typo and a broken link in the documentation (Nick Fisher)
  • Replaces .some() with .indexOf() where appropriate (Nick Fisher)
  • Fix correct config merge for array values (fixes #819) (Aliaksei Shytkin)
  • Remove warning about ESLint being in Alpha (Nick Fisher)
  • Adds space-after-keywords rule (fixes #807) (Nick Fisher)
  • Rule: no-lonely-if (fixes #790) (Brandon Mills)
  • Add ignore comments in file (fixes #305) (Aliaksei Shytkin)
  • Change: no-unused-vars default to 'all' (fixes #760) (Nicholas C. Zakas)