Skip to content

Instantly share code, notes, and snippets.

@dansilivestru
Last active March 25, 2019 12:23
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dansilivestru/b3f127f9736ab7cb36bb to your computer and use it in GitHub Desktop.
Save dansilivestru/b3f127f9736ab7cb36bb to your computer and use it in GitHub Desktop.
default .bithoundrc file for ignoring project files (modify as needed and commit to the root of your project)
{
"ignore": [
"**/deps/**",
"**/node_modules/**",
"**/thirdparty/**",
"**/third_party/**",
"**/vendor/**",
"**/**-min-**",
"**/**-min.**",
"**/**.min.**",
"**/**jquery.?(ui|effects)-*.*.?(*).?(cs|j)s",
"**/**jquery-*.*.?(*).?(cs|j)s",
"**/prototype?(*).js",
"**/**?(*).ts",
"**/mootools*.*.*.js",
"**/dojo.js",
"**/MochiKit.js",
"**/yahoo-*.js",
"**/yui*.js",
"**/ckeditor*.js",
"**/tiny_mce*.js",
"**/tiny_mce/?(langs|plugins|themes|utils)/**",
"**/MathJax/**",
"**/shBrush*.js",
"**/shCore.js",
"**/shLegacy.js",
"**/modernizr.custom.?(*).js",
"**/knockout-*.*.*.debug.js",
"**/extjs/*.js",
"**/extjs/*.xml",
"**/extjs/*.txt",
"**/extjs/*.html",
"**/extjs/*.properties",
"**/extjs/.sencha",
"**/extjs/docs/**",
"**/extjs/builds/**",
"**/extjs/cmd/**",
"**/extjs/examples/**",
"**/extjs/locale/**",
"**/extjs/packages/**",
"**/extjs/plugins/**",
"**/extjs/resources/**",
"**/extjs/src/**",
"**/extjs/welcome/**",
"bower_components/**"
],
"test": [
"**/test/**",
"**/tests/**",
"**/spec/**",
"**/specs/**"
],
"dependencies": {
"unused-ignores": []
}
}
@carlosperez
Copy link

If you want bitHound to continue ignoring the default list that is shown in this gist, add your ignored files and folders to this existing list.

@DamonOehlman
Copy link

While I don't use the tools often, is it worth adding Gruntfile.js and gulpfile.js to this list?

@ashclarke
Copy link

@dansilivestru Missing a closing ] on the test section :)

@seiyria
Copy link

seiyria commented Apr 27, 2015

@DamonOehlman I find value in ignoring them, simply because those files can get very long and full of redundant code. Unfortunately I don't think there's a reasonably way to split it up unless you use requirejs and split your build process across multiple files. At that point, I don't think you gain anything by using grunt or gulp.

@fearphage
Copy link

Is it too late to allow this to be YAML OR JSON format?

@fearphage
Copy link

Is it necessary to ignore *.{html,txt,xml,properties} files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment