From 05d047b6a0bb9393b574bb9de9fd5edc69a28b96 Mon Sep 17 00:00:00 2001 From: ccamel Date: Mon, 16 Dec 2024 19:02:31 +0100 Subject: [PATCH] chore(project): specify coderabbitai configuration --- .coderabbit.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 00000000..5f34ca44 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,34 @@ +language: "en-US" +early_access: true +tone_instructions: >- + Maintain a formal tone, highlighting issues, and suggesting production-grade, elegant, and concise solutions. +reviews: + profile: "chill" + request_changes_workflow: true + high_level_summary: true + poem: false + review_status: true + collapse_walkthrough: false + path_filters: + - "!docs/*.md" + path_instructions: + - path: "**/*.rs" + instructions: >- + Review the Rust code, point out issues relative to principles of clean + code, expressiveness, and performance. + + Suggest idiomatic solutions and best practices. + - path: "**/*.sh" + instructions: >- + Review the shell scripts, point out issues relative to security, + performance, and maintainability. + - path: "**/*.toml" + instructions: >- + Review the TOML configuration files for correctness, maintainability, + and adherence to best practices. + auto_review: + enabled: true + drafts: false + auto_incremental_review: false # review on demand +chat: + auto_reply: true