Codescene integration - Part 1 #182
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a base set of CodeScene rules to the repository, with high thresholds and low weights for gating. The current settings will likely not gate on anything., but that is to be seen.
I wanted to give custom gating messages, but that isn't an option, at least not for the free version. I will create a write-up for each rule, what it means, and how to potentially fix it, so new developers aren't overwhelmed when CodeScene flags them.
Code health rules documentation: https://codescene.io/docs/guides/technical/code-health.html#adapt-code-health-to-your-coding-standards
Code health rules template: https://codescene.io/projects/69169/config/codehealth/export/code-health-rules.json
Custom quality gates documentation: https://codescene.io/docs/guides/pr-integration/integrate-into-ci-cd.html
Custom quality gates template: https://codescene.io/configuration/template/custom-quality-gates.json
NOTE - CodeScene may be turned off until this PR is merged.