Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Croak <dan@thoughtbot.com>2015-10-04 08:45:37 +0300
committerDan Croak <dan@thoughtbot.com>2015-10-04 08:45:37 +0300
commitd53525cc3e24ef2e2d841468836c3d7712214f0a (patch)
treef3480efcd5001f013a453b95505e2c33f0e3034a /.hound.yml
parenta482ddb8585fe008f851d5888d117f0b5555a016 (diff)
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
Diffstat (limited to '.hound.yml')
-rw-r--r--.hound.yml5
1 files changed, 5 insertions, 0 deletions
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