From 78db179ff38f6cbde29509690c8fd78f046bae85 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 4 Mar 2026 11:09:17 +1100 Subject: [PATCH] haml-lint:disable ViewLength TIL we have linting on haml. I couldn't think of a better way to handle this but would be glad to receive feedback. --- app/views/admin/products_v3/_variant_row.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 359b2afbe4..e87803d34b 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -1,3 +1,4 @@ +-# haml-lint:disable ViewLength (This file is big, but doesn't make sense to split up at this point) -# locals: (variant:, f:, product_index: nil, category_options:, tax_category_options:, producer_options:) - method_on_demand, method_on_hand = variant.new_record? ? [:on_demand_desired, :on_hand_desired ]: [:on_demand, :on_hand] %td.col-image