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.
This commit is contained in:
David Cook
2026-03-04 11:09:17 +11:00
parent 5fc6d25a69
commit 78db179ff3

View File

@@ -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