Skip to content

Commit

Permalink
feat: sonar qube setup
Browse files Browse the repository at this point in the history
  • Loading branch information
thenicekat committed Apr 25, 2024
1 parent 45e1ae5 commit 8ac2843
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
.scannerwork/
1 change: 1 addition & 0 deletions backend/sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
1 change: 1 addition & 0 deletions backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { requestsRouter } from './routes/requests.route';
import { adminRouter } from './routes/admin.route';
import { reportsRouter } from './routes/report.route';
const app: Express = express()
app.disable("x-powered-by");

// Add Config
app.set("trust proxy", 1);
Expand Down

0 comments on commit 8ac2843

Please sign in to comment.