Sonarqube configuration - ONLY scan custom javascript

Hi team,

We are currently looking into SonarQube configuration to provide our DEV team with automated code checking quality. Having said that, we would like to configure SonarQube to scan ONLY custom javascript. Is there any guidance on how to do this?

Thanks,
Michael

Hey Michael,

I think you are trying to Narrow the Focus so that only the code your developers are writing is scanned, and not any third-party code (libraries, etc.). Is that correct?

Hi Colin,

Yes.

Regards,

Mike

In that case, those docs I linked are definitely where you should be looking :+1:

Hi Colin,

Thanks, if we’ll take a look further and will let you know if we have any query.

++ Looping my colleague

@Damara, Haris Ryan

Mas’e, please refer to this following documentation ya for setting filter for sonarqube scanning:

https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/

Regards,

Mike