bitHound Blog

Ignoring Unused Dependencies

Amongst other dependency analysis, bitHound will highlight dependencies that it thinks are going unused in your project. However, we recognize the way some dependencies that are being marked as unused might be required through different means, typically including those required in test scripts, or loaded via <script> tags in your front-end templates.

In order to help you customize this analysis, we've added the ability to ignore unused dependencies using .bithoundrc.

  "ignore": [
  "test": [
  "dependencies": {
    "unused-ignores": [

See the gist for the default .bithoundrc.

The only analysis this will ignore is marking the dependency as unused. Other analysis including being identified as insecure, or deprecated, for example will continue.

bitHound identifies risks and priorities in your Node.js projects.