Sonarqube exclude node_modules but keep license check

Hey,

I have the problem that we scan our src code but we want to make license checks but for that we also need to scan the node modules but we dont want them for code smells and bugs can we only scan src and scan node modules for license checks in the same project?

Hi,

Welcome to the community!

This sounds like a job for Quality Profile editing. It’s not clear to me why you wouldn’t want to find bugs, at least, but if that’s truly what you want, then craft a Quality Profile that doesn’t include those rules.

 
HTH,
Ann