]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add JavaScript configuration for Hound
authorDan Croak <dan@thoughtbot.com>
Sun, 4 Oct 2015 05:45:37 +0000 (22:45 -0700)
committerDan Croak <dan@thoughtbot.com>
Sun, 4 Oct 2015 05:45:37 +0000 (22:45 -0700)
commitd53525cc3e24ef2e2d841468836c3d7712214f0a
treef3480efcd5001f013a453b95505e2c33f0e3034a
parenta482ddb8585fe008f851d5888d117f0b5555a016
Add JavaScript configuration for Hound

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
.hound.yml [new file with mode: 0644]