Skip to content

Commit

Permalink
codespaces: add sonarlint vscode extension && install nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
JKatzwinkel authored Feb 5, 2024
1 parent 4840e7c commit 0b6b165
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,29 @@
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"postAttachCommand": "nvm install 21.6.1; exit",
"customizations": {
"vscode": {
"extensions": [
"ryanluker.vscode-coverage-gutters"
"ryanluker.vscode-coverage-gutters",
"SonarSource.sonarlint-vscode"
],
"settings": {
"editor.renderWhitespace": "all",
"coverage-gutters.coverageFileNames": [
"jacocoTestReport.xml"
],
"coverage-gutters.showLineCoverage": true
"coverage-gutters.showLineCoverage": true,
"sonarlint.pathToNodeExecutable": "/usr/local/share/nvm/versions/node/v21.6.1/bin/node",
"sonarlint.output.showVerboseLogs": true,
"sonarlint.analyzerProperties": {
"sonar.java.source": "21"
},
"search.exclude": {
"gradlew": true,
"gradlew.bat": true,
"gradle/": true
}
}
}
}
Expand Down

0 comments on commit 0b6b165

Please sign in to comment.