0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00

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
This commit is contained in:
Dan Croak 2015-10-03 22:45:37 -07:00
parent a482ddb858
commit d53525cc3e

5
.hound.yml Normal file
View File

@ -0,0 +1,5 @@
java_script:
config_file: js/.jshintrc
enabled: true
scss:
enabled: false