Open nrmancuso opened 2 years ago
Discussion around local execution: https://community.sonarsource.com/t/can-i-run-sonarlint-check-from-command-line-without-sonarqube/35896/8
TLDR; sonar is not designed for this. Issues should be noticed and fixed locally in the IDE, and reported by SonarCloud in CI.
To require the project to use sonarlint for intellij, see: https://www.jetbrains.com/help/idea/settings-required-plugins.html
To require the project to use sonarlint in vscode, eee: https://github.com/microsoft/vscode/issues/89157#issuecomment-577766335
Then, to make rules consistent with sonarcloud (called connected mode):
vs code: https://github.com/SonarSource/sonarlint-vscode#connected-mode
intellij: https://github.com/SonarSource/sonarlint-intellij/wiki/Bind-to-SonarQube-or-SonarCloud