From: Dan Croak Date: Sun, 4 Oct 2015 05:45:37 +0000 (-0700) Subject: Add JavaScript configuration for Hound X-Git-Tag: v3.3.6~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d53525cc3e24ef2e2d841468836c3d7712214f0a;p=thirdparty%2Fbootstrap.git 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 --- diff --git a/.hound.yml b/.hound.yml new file mode 100644 index 0000000000..bb847f5593 --- /dev/null +++ b/.hound.yml @@ -0,0 +1,5 @@ +java_script: + config_file: js/.jshintrc + enabled: true +scss: + enabled: false