Bug 38664: Use our own prettier plugin - @koha-community/prettier-plugin-template-toolkit

https://www.npmjs.com/package/@koha-community/prettier-plugin-template-toolkit

https://gitlab.com/koha-community/prettier-plugin-template-toolkit
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2025-01-29 11:55:39 +01:00 committed by Katrin Fischer
parent 287cb328bc
commit 693b4dc0eb
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 3 additions and 2 deletions

View file

@ -24,8 +24,8 @@ module.exports = {
options: {
printWidth: 240,
htmlWhitespaceSensitivity: "strict",
parser: "jinja-template",
plugins: ["prettier-plugin-jinja-template"],
parser: "template-toolkit",
plugins: ["@koha-community/prettier-plugin-template-toolkit"],
},
},
],

View file

@ -69,6 +69,7 @@
"author": "",
"license": "GPL-3.0",
"devDependencies": {
"@koha-community/prettier-plugin-template-toolkit": "^2.0.1",
"@rspack/cli": "^1.0.1",
"@rspack/core": "^1.0.1",
"@vue/compiler-sfc": "^3.2.31",