To set up an Angular project with SonarQube and SonarLint in a Bitbucket pipeline on macOS
1. Install SonarQube and SonarLint SonarQube: Download and Install SonarQube : Download SonarQube from SonarQube Downloads . Extract the files and run the following commands in your terminal: brew install sonarqube sonarqube start or sudo /opt/sonarqube/bin/macosx-universal-64/sonar.sh console Java should be - export JAVA_HOME=$(/usr/libexec/java_home -v 22.0.2) SonarQube should be accessible at http://localhost:9000 . SonarLint (for IDE integration): For VS Code : Install the SonarLint extension from the VS Code marketplace. For JetBrains IDE (like IntelliJ, WebStorm) : Install SonarLint from the JetBrains plugin marketplace. 2. Set Up SonarQube on Your Project Install the SonarScanner : The SonarScanner is used to analyze the code and send the results to SonarQube. Install SonarScanner globally using Homebrew: bash Copy code brew install sonar-scanner Configure sonar-proj...