Install CodeQL CLI from here
codeql database create project-ql --language=javascript
codeql pack download codeql/javascript-queries
codeql database analyze project-ql codeql/javascript-queries --format=sarifv2.1.0 --output=query-results.sarif --download
sudo pip install sarif-tools
sarif html -o venteur-ql-report/summary.html query-results.sarif
Now open the summary.html in your favorite browser