Skip to content

Commit

Permalink
fix(rules): sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 20, 2023
1 parent 18ec33b commit 2a63334
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ exports[`all > should match everything 1`] = `
"solidjs",
"sonarcloud",
"sonarlint",
"sonarqube",
"splitio",
"splunk",
"sqlite",
Expand Down
1 change: 1 addition & 0 deletions src/rules/tool/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ import './lighthouse.js';
import './mailhog.js';
import './playwright.js';
import './sonarlint.js';
import './sonarqube.js';
import './terragrunt.js';
8 changes: 8 additions & 0 deletions src/rules/tool/sonarqube.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'sonarqube',
name: 'SonarQube',
type: 'tool',
files: ['.sonar-project.properties'],
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ export type AllowedKeys =
| 'solidjs'
| 'sonarcloud'
| 'sonarlint'
| 'sonarqube'
| 'splitio'
| 'splunk'
| 'sqlite'
Expand Down

0 comments on commit 2a63334

Please sign in to comment.