Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

.coderabbit.config.ts

37 lines1.1 KB

1import { defineConfig } from "@coderabbitai/config";
2​
3export default defineConfig({
4 reviews: {
5 high_level_summary: false,
6 review_status: false,
7 auto_review: {
8 enabled: true,
9 },
10 pre_merge_checks: {
11 docstrings: { mode: "off" },
12 },
13 path_filters: [
14 // Vendored read-only reference checkouts of upstream Effect and Alchemy
15 // (see scripts/lib/reference-repos.ts). Nothing imports from them.
16 "!.repos/**",
17 ],
18 path_instructions: [
19 {
20 path: "{apps,packages,infra}/**/*.ts",
21 instructions: "Hold changed code to the rules in docs/internals/effect-services.md.",
22 },
23 {
24 path: "apps/web/src/**/*.{tsx,css}",
25 instructions: "Hold changed code to the rules in docs/internals/web-ui.md.",
26 },
27 ],
28 },
29 knowledge_base: {
30 code_guidelines: {
31 filePatterns: [
32 { files: "docs/internals/effect-services.md", applyTo: "{apps,packages,infra}/**/*.ts" },
33 { files: "docs/internals/web-ui.md", applyTo: "apps/web/src/**/*.{tsx,css}" },
34 ],
35 },
36 },
37});