Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
If bitHound is marking a module as unused, but you are using it in a way bitHound can't detect (e.g. inline script tags, tests), you can specify unused ignores in your .bithoundrc.
{
"ignore": [
"**/deps/**",
"**/node_modules/**",
"**/thirdparty/**",
"**/third_party/**",
"**/vendor/**",
"**/**-min-**",
"**/**-min.**",
"**/**.min.**",
"**/**jquery.?(ui|effects)-*.*.?(*).?(cs|j)s",
"**/**jquery-*.*.?(*).?(cs|j)s",
"**/prototype?(*).js",
"**/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": [
"grunt-*",
"bower",
"eslint"
]
}
}
@trinonsense

This comment has been minimized.

Show comment
Hide comment
@trinonsense

trinonsense Jun 1, 2017

have there been any updates to this files since last revision? I'm seeing my files/deps in **/data/** being ignore, but that path is not listed here.

have there been any updates to this files since last revision? I'm seeing my files/deps in **/data/** being ignore, but that path is not listed here.

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