presonar

Sonar scanner with git pre-commit hooks

Usage no npm install needed!

<script type="module">
  import presonar from 'https://cdn.skypack.dev/presonar';
</script>

README

Sonar scanner with git pre-commit hooks

Install with npm install presonar --save-dev or yarn add presonar -D.

Scan project:

npx presonar scan

npx presonar scan --type commit|push

Install husky git hooks

npx presonar install

Uninstall husky git hooks

npx presonar uninstall

Add git hooks

npx presonar add .husky --type commit|push