Skip to content

Commit

Permalink
feat(sonarlint): add SonarLint configuration for connected mode (#7005)
Browse files Browse the repository at this point in the history
  • Loading branch information
pethers authored Jan 12, 2025
1 parent cb4bdb8 commit 2e3fd7e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 22 deletions.
4 changes: 4 additions & 0 deletions .sonarlint/connectedMode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sonarCloudOrganization": "hack23",
"projectKey": "Hack23_cia"
}
47 changes: 25 additions & 22 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,32 @@
"java.configuration.updateBuildConfiguration": "automatic",
"java.dependency.packagePresentation": "hierarchical",
"maven.workspace.autoReload": true,

"maven.workspace.resolveFolders": true,
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 --add-modules=ALL-SYSTEM --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED",
"java.test.config": {
"vmargs": [
"--add-modules=ALL-SYSTEM",
"--add-exports=java.base/sun.nio.ch=ALL-UNNAMED",
"--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED",
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.lang.reflect=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED"
]
},
"java.test.defaultConfig": "default",
"maven.terminal.customEnv": [
{
"environmentVariable": "MAVEN_OPTS",
"value": "-Xmx2048m -Xms1024m -XX:+UseG1GC"
}
],
"coverage-gutters.showGutterCoverage": true,
"coverage-gutters.showLineCoverage": true,
"coverage-gutters.showRulerCoverage": true,
"java.test.report.showCoverageData": true,
"maven.view": "hierarchical"
"vmargs": [
"--add-modules=ALL-SYSTEM",
"--add-exports=java.base/sun.nio.ch=ALL-UNNAMED",
"--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED",
"--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.lang.reflect=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED"
]
},
"java.test.defaultConfig": "default",
"maven.terminal.customEnv": [
{
"environmentVariable": "MAVEN_OPTS",
"value": "-Xmx2048m -Xms1024m -XX:+UseG1GC"
}
],
"coverage-gutters.showGutterCoverage": true,
"coverage-gutters.showLineCoverage": true,
"coverage-gutters.showRulerCoverage": true,
"java.test.report.showCoverageData": true,
"maven.view": "hierarchical",
"sonarlint.connectedMode.project": {
"connectionId": "hack23",
"projectKey": "Hack23_cia"
}
}

0 comments on commit 2e3fd7e

Please sign in to comment.