diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..9a56951 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,60 @@ +# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json +language: en-US +early_access: false +reviews: + profile: assertive + request_changes_workflow: true + high_level_summary: true + poem: false + review_status: true + collapse_walkthrough: true + path_filters: + - "!dist/**" + - "!node_modules/**" + - "!graphify-out/**" + - "!.planning/**" + - "!bun.lock" + - "!package-lock.json" + path_instructions: + - path: "src/**/*.ts" + instructions: | + Perform a deep efficiency and optimization review: + 1. Identify redundant code, dead code, and over-engineered patterns + 2. Suggest algorithmic improvements for performance-critical paths + 3. Flag unnecessary abstractions that add complexity without value + 4. Recommend modern ES2022+ syntax replacements for legacy patterns + 5. Identify opportunities for lazy loading and tree-shaking + 6. Review error handling for missing cases or swallowing + 7. Check for memory leaks in intervals, timeouts, and event listeners + 8. Validate that async/await usage is optimal vs Promise chains + 9. Flag any duplicate logic that should be centralized + 10. Recommend reducing LOC while preserving readability + - path: "tests/**/*.ts" + instructions: | + Review test suite for efficiency: + 1. Identify slow or redundant tests + 2. Check for proper isolation and mock cleanup + 3. Flag tests that test implementation details instead of behavior + 4. Suggest parallelization opportunities + auto_review: + enabled: true + ignore_title_keywords: [] + drafts: true + base_branches: ["main"] + tools: + shellcheck: + enabled: false + ruff: + enabled: false + markdownlint: + enabled: true + github-checks: + enabled: true + timeout_ms: 90000 +chat: + auto_reply: true + integrations: + jira: + usage: disabled + linear: + usage: disabled