From 4a668b3240ca21ce7b55b38a1dd0ec7e74235330 Mon Sep 17 00:00:00 2001 From: snt Date: Thu, 26 Feb 2026 14:59:34 +0100 Subject: [PATCH] =?UTF-8?q?[REF]=20website=5Fsale=5Faplicoop:=20Mejorar=20?= =?UTF-8?q?legibilidad=20del=20XML=20(reformatear=20con=20mejor=20indentac?= =?UTF-8?q?i=C3=B3n)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc.yml | 14 +- .../views/website_templates.xml | 1351 ++++++----------- 2 files changed, 431 insertions(+), 934 deletions(-) diff --git a/.prettierrc.yml b/.prettierrc.yml index 21a0072..6f9277f 100644 --- a/.prettierrc.yml +++ b/.prettierrc.yml @@ -12,13 +12,13 @@ useTabs: false # Keep tags more compact - don't break every attribute overrides: - # Disable prettier for XML files - manual formatting preferred - # - files: "*.xml" - # options: - # printWidth: 120 - # xmlWhitespaceSensitivity: "strict" - # singleAttributePerLine: false - # bracketSameLine: true + # XML files with improved readability + - files: "*.xml" + options: + printWidth: 100 + xmlWhitespaceSensitivity: "ignore" + singleAttributePerLine: true + bracketSameLine: false - files: "*.py" options: diff --git a/website_sale_aplicoop/views/website_templates.xml b/website_sale_aplicoop/views/website_templates.xml index d986af9..d0f5bd0 100644 --- a/website_sale_aplicoop/views/website_templates.xml +++ b/website_sale_aplicoop/views/website_templates.xml @@ -1,303 +1,133 @@ - + - - -