Koha/.prettierrc.js

32 lines
803 B
JavaScript

module.exports = {
arrowParens: "avoid",
trailingComma: "es5",
tabWidth: 4,
useTabs: false,
overrides: [
{
files: ["*.js", "*.ts"],
options: {
trailingComma: "es5",
arrowParens: "avoid",
},
},
{
files: "*.vue",
options: {
trailingComma: "es5",
arrowParens: "avoid",
semi: false,
}
},
{
files: ["*.tt", "*.inc"],
options: {
printWidth: 240,
htmlWhitespaceSensitivity: "strict",
parser: "template-toolkit",
plugins: ["@koha-community/prettier-plugin-template-toolkit"],
},
},
],
}