GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — t3code/.coderabbit.config.ts at main · shardfluxdev/t3code Expand file tree/ Copy path.coderabbit.config.tsMore file actions 66 lines (61 loc) · 3.12 KB / Copy path.coderabbit.config.tsFile metadata and controls66 lines (61 loc) · 3.12 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 import { defineConfig, type CodeRabbitContext } from "@coderabbitai/config"; const approvability = `Fail when a maintainer should read this pull request before CodeRabbit approves it, and name the rule and file. Fail if it: - Changes a product default: a setting's default value, or what users get without opting in. Making a feature do what it already promises is a bug fix, not a default change. - Adds or broadens a directive that disables or suppresses a lint, type-checker, LSP, or other static-analysis diagnostic, including file-level, line-level, and configuration-level overrides. - Adds a subsystem or user workflow, or is a large refactor across apps or packages. - Changes packages/contracts or persisted data in a way that existing clients or stored data might not accept. - Changes authentication, pairing, credentials, secrets, or remote connection trust. - Adds or changes an external side effect, such as acting on GitHub, publishing a release, or calling a webhook. - Adds, upgrades, or patches a dependency. - Changes CI or release configuration, agent or contributor instructions, or any review tool's configuration, including .github/, AGENTS.md, CONTRIBUTING.md, .agents/, and .coderabbit.config.ts. Otherwise pass. A focused bug fix, copy or layout fix, revert, or docs-only or test-only change passes unless a rule above applies. If you cannot decide, fail rather than report inconclusive. When failing, say that the pull request needs a maintainer's review. `; // Org members and collaborators merge their own pull requests. On anyone else's, CodeRabbit // requests changes until its comments are resolved and its checks pass, then approves. const UNGATED_AUTHORS = new Set(["OWNER", "MEMBER", "COLLABORATOR"]); const isGated = ({ pr }: CodeRabbitContext) => !UNGATED_AUTHORS.has(pr?.authorAssociation ?? ""); export default defineConfig((ctx) => ({ reviews: { high_level_summary: false, review_status: false, request_changes_workflow: isGated(ctx), allow_author_approval: !isGated(ctx), auto_review: { enabled: true, }, pre_merge_checks: { docstrings: { mode: "off" }, override_requested_reviewers_only: isGated(ctx), custom_checks: [ { name: "Approvability", mode: isGated(ctx) ? "error" : "off", instructions: approvability, }, ], }, 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}" }, ], }, }, })); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |