diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 80cb3e71..dfbdf85b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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 + } } } }