← Back to changelog

Support for ESLint 3

Back in May, we introduced engine channels as a new feature in the Code Climate Platform. The good news is that engine channels make it super easy for us to provide additional tracks of engine releases. In fact, it’s so easy, we forgot to announce our newest engine channel, eslint-3, which brings support for the latest major release of ESLint.

So, without further ado, we’d like to announce support for ESLint 3!!

ESLint 3 adds some new features and fixes several bugs found in previous versions. Additionally, some important rules were added to the shared eslint:recommended configuration. You can read more about the changes in ESLint’s official announcement.

Since we published the ESLint 3 engine channel in September, it has become the most active target for new plugins and enhancements.

Here are a few awesome community contributions we’ve released recently:

  • Support for JSDoc, Lodash, Mocha, MongoDB, and Node Security Project plugins (pr/131 by @knuagpal)

  • Support for the ember-suave ESLint plugin (pr/140 by @blimmer) A popular plugin for Ember users recently made it’s way to the ESLint ecosystem! Users of the Code Climate engine can now use the new ESLint plugin on codeclimate.com and via the CLI.

  • Ignore warning-level violations from ESLint (pr/144 by @blimmer) By default, this ESLint engine will emit both ESLint errors and warnings as Code Climate issues. If you prefer, you can now ignore warning-level violations by setting the ignore_warnings configuration option:

    engines:
      eslint:
        enabled: true
        channel: eslint-3
        config:
          ignore_warnings: true
    

These contributions are, for now, exclusive to the eslint-3 channel so why not take the opportunity to upgrade your analysis? You can do so by updating your .codeclimate.yml configuration file:

engines:
  eslint:
    enabled: true
    channel: eslint-3
Actionable metrics for engineering leaders. Try Velocity Free