---
title: Hound Reviews CoffeeScript For Style Violations
teaser: 'In addition to Ruby files, Hound can now review CoffeeScript code for style
  violations using CoffeeLint.

  '
tags: news,web,hound,coffeescript
author: Dan Croak
published_on: 2014-09-17
---

Four months ago, we announced [Hound][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](https://images.thoughtbot.com/hound/coffeescript-example.png)

## Default Behavior

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

[CoffeeLint]: http://www.coffeelint.org
[RuboCop]: https://github.com/bbatsov/rubocop

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:

* [`config/style_guides/coffeescript.json`][default coffee]
* [`config/style_guides/ruby.yml`][default ruby]

[default coffee]: https://github.com/thoughtbot/hound/blob/master/config/style_guides/coffeescript.json
[default ruby]: https://github.com/thoughtbot/hound/blob/master/config/style_guides/ruby.yml

## 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`:

```yaml
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:

```yaml
ruby:
  enabled: false

coffee_script:
  enabled: true
```

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

[Nathan Youngman]: https://twitter.com/nathany

## 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][hound].

[hound]: https://houndci.com/?utm_source=giantrobotsblog&utm_medium=blog&utm_campaign=coffeescript-announcement
