feat: enforce SRP file-function name match in CodeRabbit

Merged
RE
8mo ago
+3-1

Summary

  • Add explicit CodeRabbit rule requiring exported function names to match file names
  • Updated SRP custom check, lib/**/*.ts path instructions, and lib/supabase/**/*.ts path instructions
  • Addresses PR #399 comment where buildAuthConfigs was added to getConnectors.ts instead 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.