From 26aa21d36aee662a53193e28add52aaa76b5d0d8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 12 Dec 2024 16:29:48 +0100 Subject: [PATCH] Bug 38664: .prettierrc.js changes for template files Signed-off-by: Katrin Fischer --- .prettierrc.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index 1a0c01026b..007f2bcad9 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -9,6 +9,13 @@ module.exports = { options: { semi: false, } - } - ] + }, + { + files: ["*.tt", "*.inc"], + options: { + parser: "jinja-template", + plugins: ["prettier-plugin-jinja-template"], + }, + }, + ], }