feat: adding commit fixes and descriptions to the rules' properties #58
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.
COD-114 Storing automatic fix examples on our DB
ποΈ Example commit fixes need to be stored in our database.
What does this PR do?
β Exporting the
ExampleCommitFix
interface to make it accessible to the Sarif Converter.β Updating the
properties
object onrules
instances of the Sarif Converter to be able to store them.β Updating the Sarif Converter spec to test for the presence of the exemple
ExampleCommitFix
.Where should the reviewer start?
RuleProperty
type and its use.tests/sarif_converter.spec.ts
test.How should this be manually tested?
tests/sarif_converter.spec.ts
test.