Koha/.prettierrc.js
Jonathan Druart bb9d2284fb
Bug 38664: extend printWidth for template files
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-02-11 14:58:17 +01:00

22 lines
482 B
JavaScript

module.exports = {
arrowParens: "avoid",
trailingComma: "es5",
tabWidth: 4,
useTabs: false,
overrides: [
{
files: "*.vue",
options: {
semi: false,
}
},
{
files: ["*.tt", "*.inc"],
options: {
printWidth: 240,
parser: "jinja-template",
plugins: ["prettier-plugin-jinja-template"],
},
},
],
}