From 7d3697a5cc2095a239a73436625eb5423d0e17be Mon Sep 17 00:00:00 2001 From: "code-contractor-app[bot]" <2165592+code-contractor-app[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 23:07:08 +0000 Subject: [PATCH] refactor: improve file_structure_rule rule based on feedback --- contract.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contract.yml b/contract.yml index 99619236c..d15fa7c5c 100644 --- a/contract.yml +++ b/contract.yml @@ -41,6 +41,9 @@ validation: 4. Class/struct definitions 5. Functions and commands + Only flag violations when elements appear OUT OF ORDER (e.g., key bindings AFTER functions, or defvar AFTER functions). + Key bindings appearing BEFORE functions is correct and expected. + # === Style === - name: loop_keywords_rule prompt: |