38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import { defineConfig } from "@coderabbitai/config";
|
|
|
|
export default defineConfig({
|
|
reviews: {
|
|
high_level_summary: false,
|
|
review_status: false,
|
|
auto_review: {
|
|
enabled: true,
|
|
},
|
|
pre_merge_checks: {
|
|
docstrings: { mode: "off" },
|
|
},
|
|
path_filters: [
|
|
// Vendored read-only reference checkouts of upstream Effect and Alchemy
|
|
// (see scripts/lib/reference-repos.ts). Nothing imports from them.
|
|
"!.repos/**",
|
|
],
|
|
path_instructions: [
|
|
{
|
|
path: "{apps,packages,infra}/**/*.ts",
|
|
instructions: "Hold changed code to the rules in docs/internals/effect-services.md.",
|
|
},
|
|
{
|
|
path: "apps/web/src/**/*.{tsx,css}",
|
|
instructions: "Hold changed code to the rules in docs/internals/web-ui.md.",
|
|
},
|
|
],
|
|
},
|
|
knowledge_base: {
|
|
code_guidelines: {
|
|
filePatterns: [
|
|
{ files: "docs/internals/effect-services.md", applyTo: "{apps,packages,infra}/**/*.ts" },
|
|
{ files: "docs/internals/web-ui.md", applyTo: "apps/web/src/**/*.{tsx,css}" },
|
|
],
|
|
},
|
|
},
|
|
});
|