From d27eb181f6ab419d1745a1fe9b94094be17a618f Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Tue, 2 Apr 2024 11:50:57 -0400 Subject: [PATCH] Reduce `LineLength` from 320 to 300 (#29636) --- .haml-lint.yml | 2 +- .rubocop.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.haml-lint.yml b/.haml-lint.yml index 2b553ca56c..e493afb85f 100644 --- a/.haml-lint.yml +++ b/.haml-lint.yml @@ -11,6 +11,6 @@ linters: MiddleDot: enabled: true LineLength: - max: 320 + max: 300 ViewLength: max: 200 # Override default value of 100 inherited from rubocop diff --git a/.rubocop.yml b/.rubocop.yml index 2aa72d9e5e..7fb8ab0c55 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -39,7 +39,7 @@ Layout/FirstHashElementIndentation: # Reason: Currently disabled in .rubocop_todo.yml # https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinelength Layout/LineLength: - Max: 320 # Default of 120 causes a duplicate entry in generated todo file + Max: 300 # Default of 120 causes a duplicate entry in generated todo file ## Disable most Metrics/*Length cops # Reason: those are often triggered and force significant refactors when this happend