diff --git a/.coderabbit.yaml b/.coderabbit.yaml index cc41eea95e..da26bfb782 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -11,6 +11,16 @@ reviews: pre_merge_checks: docstrings: enabled: false + custom_checks: + - mode: error + name: 'settings' + instructions: 'Every addition of a new setting toggle must be thoroughly evaluated against the core design principles of Actual. The settings screen is reserved for essential and foundational options only — do not introduce settings for minor UI adjustments such as sizes, paddings, colors, or margins. Prioritize preserving a simple and uncluttered user experience. Users proposing new settings must confirm in a reply to the Coderabbit comment that they have reviewed and ensured alignment with these principles. Excessive or granular UI options increase code complexity and risk confusing users, and are generally not permitted.' + - mode: error + name: 'linting' + instructions: 'Do not allow any oxlint-disable lines.' + - mode: error + name: 'typecheck' + instructions: 'Do not allow creating new components or utilities with the @ts-strict-ignore comment.' labeling_instructions: - label: 'suspect ai generated' instructions: 'This issue or PR is suspected to be generated by AI.' diff --git a/upcoming-release-notes/6592.md b/upcoming-release-notes/6592.md new file mode 100644 index 0000000000..892b5834e5 --- /dev/null +++ b/upcoming-release-notes/6592.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Add custom checks to CodeRabbit configuration for settings evaluation, linting, and typecheck enforcement.