Skip to content

Instantly share code, notes, and snippets.

@dansilivestru
Last active Mar 25, 2019
Embed
What would you like to do?
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

carlosperez commented Jan 26, 2015

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

DamonOehlman commented Mar 18, 2015

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

@ashclarke
Copy link

ashclarke commented Apr 9, 2015

@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

fearphage commented Apr 28, 2015

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

@fearphage
Copy link

fearphage commented Apr 28, 2015

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