jalantechnologies / rflask-boilerplate

Boilerplate code for building projects using Python, Flask and React
0 stars 4 forks source link

fix: Duplicated code amongst apps (frontend and backend) fails SonarQube check #34

Open bbbneo333 opened 3 months ago

bbbneo333 commented 3 months ago

If I try to have same code in frontend and backend apps, the quality analysis check fails. SQ should treat these apps as different projects and not compare code amongst each other.

bbbneo333 commented 3 months ago

Possible solution:

sonar.modules=app1,app2

# App 1 module configuration
app1.sonar.projectName=Application 1
app1.sonar.sources=app1/src

# App 2 module configuration
app2.sonar.projectName=Application 2
app2.sonar.sources=app2/src

ref: https://stackoverflow.com/questions/32227360/multi-module-project-analysis-with-sonarqube