From 2d68178b2da9a15c6b001bea07ad08deaf681ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Wed, 10 Apr 2024 20:08:20 +0200 Subject: [PATCH] [CLN] pre-commit --- .prettierrc.yml | 8 ++++++++ templates/operation_templates_page.xml | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .prettierrc.yml diff --git a/.prettierrc.yml b/.prettierrc.yml new file mode 100644 index 0000000..5b6d4b3 --- /dev/null +++ b/.prettierrc.yml @@ -0,0 +1,8 @@ +# Defaults for all prettier-supported languages. +# Prettier will complete this with settings from .editorconfig file. +bracketSpacing: false +printWidth: 88 +proseWrap: always +semi: true +trailingComma: "es5" +xmlWhitespaceSensitivity: "strict" diff --git a/templates/operation_templates_page.xml b/templates/operation_templates_page.xml index 91ee9c3..67f0f2d 100644 --- a/templates/operation_templates_page.xml +++ b/templates/operation_templates_page.xml @@ -22,9 +22,7 @@ <template id='operation_invoice_surplus' name="Operation Factures Surplus"> <t t-call="oacc_portal.layout_op"> <div class="col-12 bg-white"> - <h3 - class="text-center mt-2 text-uppercase" - >Mes Factures Surplus</h3> + <h3 class="text-center mt-2 text-uppercase">Mes Factures Surplus</h3> <t t-if="invoices_surplus"> <t t-set="invoices" t-value="invoices_surplus" /> <t t-set="partner_label" t-value="'Acheteur de surplus'" /> -- GitLab