Hound Reviews CoffeeScript For Style Violations

Dan Croak

Four months ago, we announced Hound, a hosted service that reviews Ruby code for style violations and comments about them on your GitHub pull requests. Since then, about 3,000 users have signed up for Hound.

Today, we’re pleased to announce that Hound can review CoffeeScript code in addition to Ruby code.

Screenshot of Hound linting CoffeeScript file

Default Behavior

Hound uses CoffeeLint to check CoffeeScript style. This follows our precedent for Ruby, which uses the excellent open source RuboCop library.

By default, Ruby is enabled and CoffeeScript is disabled for your repos. Without explicit configuration in your repo, Hound uses these files to configure each language:

Configuration

You can enable or disable each language, or use your own CoffeeLint or RuboCop config file, by adding a .hound.yml file to your repo.

Example .hound.yml:

ruby:
  enabled: true
  config_file: .rubocop.yml

coffee_script:
  enabled: true
  config_file: config/coffeelint.json

You can place the files anywhere on your file path that you prefer.

To use Hound’s defaults but still control which languages are enabled:

ruby:
  enabled: false

coffee_script:
  enabled: true

Special thanks to Nathan Youngman for helping us design the configuration API.

Let Hound Guard Your Repo

Hound is still very young. We’re eager for your feedback on the service. It is free for public repos, and $12 per month per private repo.

Try Hound today.