Understood that you could disallow node_modules via claude config add ignorePatterns node_modules.
However a large majority of frontend developers will try out Claude Code without knowing about this configuration parameter and will be disappointed.
(somehow /node_modules is also in my .gitignore but wasn't considered)
The result is that the first 1000 files in the prompt are node modules, and thus Claude becomes very ineffective and confused.
Would highly suggest to exclude node_modules by default.
Understood that you could disallow
node_modulesviaclaude config add ignorePatterns node_modules.However a large majority of frontend developers will try out Claude Code without knowing about this configuration parameter and will be disappointed.
(somehow
/node_modulesis also in my.gitignorebut wasn't considered)The result is that the first 1000 files in the prompt are node modules, and thus Claude becomes very ineffective and confused.
Would highly suggest to exclude node_modules by default.