feat: enforce SRP file-function name match in CodeRabbit
Merged
RE
8mo ago+3+3+0123456789-1-1-0123456789
Summary
- Add explicit CodeRabbit rule requiring exported function names to match file names
- Updated SRP custom check,
lib/**/*.tspath instructions, andlib/supabase/**/*.tspath instructions - Addresses PR #399 comment where
buildAuthConfigswas added togetConnectors.tsinstead of its own file
Test plan
- Verify CodeRabbit picks up the new rule on future PRs
- Confirm CodeRabbit flags functions added to files with mismatched names
š¤ Generated with Claude Code
Summary by cubic
Enforces a strict file-function naming rule in CodeRabbit: each TS file exports one primary function, and the file name must match that function.
Updates .coderabbit.yaml rules under SRP, domain functions, and Supabase for lib/**/*.ts and lib/supabase/**/*.ts to flag mismatches and instruct creating a new file; also softens wording to avoid noisy critical alerts.