-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
134 lines (124 loc) · 3.65 KB
/
Copy path.coderabbit.yaml
File metadata and controls
134 lines (124 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# CodeRabbit configuration — pnpm/TypeScript monorepo (packages/* libs, apps/* CLIs + Vue site).
# Reference: https://docs.coderabbit.ai/reference/configuration
language: "en-US"
reviews:
profile: "chill"
request_changes_workflow: false
high_level_summary: true
changed_files_summary: true
sequence_diagrams: true
estimate_code_review_effort: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: true
auto_apply_labels: false
suggested_reviewers: false
poem: false
review_status: true
# Commit status "CodeRabbit" on the PR head: pending while reviewing, success
# when done. Consumed by .claude/hooks/coderabbit-merge-gate.sh to block
# `gh pr merge` until the review of the latest push has finished.
commit_status: true
collapse_walkthrough: true
abort_on_close: true
auto_review:
enabled: true
drafts: false
base_branches:
- "main"
ignore_title_keywords:
- "WIP"
- "DO NOT REVIEW"
path_filters:
- "!**/node_modules/**"
- "!**/dist/**"
- "!**/build/**"
- "!**/*.min.js"
- "!**/pnpm-lock.yaml"
- "!**/flake.lock"
- "!**/*.snap"
- "!reports/**"
- "!**/*.webp"
- "!**/*.png"
- "!**/*.gif"
path_instructions:
- path: "packages/**/*.ts"
instructions: |
Published library code. Watch for breaking changes to public APIs and
exports maps. Flag any `any`, `@ts-ignore`, or type assertions added to
silence errors. New behavior should come with vitest coverage.
- path: "apps/pythinker-code/**"
instructions: |
Terminal UI (pi-tui/Solid). Be careful with reactivity: signals must not
be destructured, and rendering must stay allocation-light. Flag blocking
I/O on the render path.
- path: "apps/site/**"
instructions: |
Vue 3 marketing site. Check accessibility basics (alt text, contrast,
focus states), responsive layout, and that no heavy dependencies are
added for things CSS or native elements can do.
- path: "**/*.test.ts"
instructions: |
Tests must be able to fail: flag assertions that pass vacuously (empty-set
matches, missing awaits on async expectations, mocked units asserting on
the mock itself).
- path: ".github/workflows/**"
instructions: |
Check for unpinned third-party actions, script injection via
`${{ }}` interpolation in run blocks, and overly broad `permissions`.
finishing_touches:
docstrings:
enabled: false
unit_tests:
enabled: false
pre_merge_checks:
title:
mode: "warning"
requirements: "Imperative mood, <= 72 chars, conventional-commit style prefix (feat/fix/docs/chore/refactor/test/ci)."
description:
mode: "warning"
issue_assessment:
mode: "warning"
tools:
# oxlint is the repo linter; keep overlapping JS linters off to avoid duplicate noise.
oxc:
enabled: true
eslint:
enabled: false
biome:
enabled: false
gitleaks:
enabled: true
trufflehog:
enabled: true
actionlint:
enabled: true
zizmor:
enabled: true
shellcheck:
enabled: true
yamllint:
enabled: true
markdownlint:
enabled: true
hadolint:
enabled: true
osvScanner:
enabled: true
semgrep:
enabled: true
github-checks:
enabled: true
timeout_ms: 300000
chat:
auto_reply: true
knowledge_base:
learnings:
scope: "auto"
code_guidelines:
enabled: true
filePatterns:
- "AGENTS.md"
- "CONTRIBUTING.md"