Learn how to set up effective guidelines for Review Droid to enhance your code review process
.droid.yaml
file under the guidelines
field within the review
section. This configuration allows you to define different instructions based on file paths, ensuring that the guidelines are contextually relevant.
.droid.yaml
file:
path
: An fnmatch pattern specifying which file paths this guideline applies to.guideline
: The specific issue you want Droid to comment on, preferably including a suggestion for how to fix it.context_document_path
(optional): Specifies a document that provides additional context to Review Droid when enforcing the guideline. This can be either: