Skip to content

Commit

Permalink
Add JavaScript configuration for Hound
Browse files Browse the repository at this point in the history
This change uses Bootstrap's existing `js/.jshintrc` file
to configure Hound's hosted JSHint instance.

It leaves existing JavaScript linting as-is
because Hound does not support ESLint or JSCS yet.

On each pull request to Bootstrap,
Hound will comment on any JavaScript style violations in-line,
like this:

![screenshot](https://images.thoughtbot.com/hound/javascript-example.png)

If you update the pull request to adopt a suggestion,
the comment will be hidden.

It leaves the existing linting done by Grunt + Travis.

Hound is free for open source projects
and is open source itself:

https://github.com/thoughtbot/hound
  • Loading branch information
Dan Croak committed Oct 4, 2015
1 parent a482ddb commit d53525c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
java_script:
config_file: js/.jshintrc
enabled: true
scss:
enabled: false

0 comments on commit d53525c

Please sign in to comment.