Skip to content

VBC-006: committed-node-modules

error

Category: git
Analysis: Git
Tags: git security performance

What it reports

node_modules directory detected in staged files. Add node_modules/ to .gitignore and use package.json for dependency management. This bloats the repository and causes cross-platform dependency hell.

Examples

Exercised by git-checker.test.ts: needs a staged file list.

Released under the MIT License.