-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prettierrc.js
More file actions
24 lines (24 loc) · 622 Bytes
/
Copy path.prettierrc.js
File metadata and controls
24 lines (24 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
arrowParens: "avoid",
trailingComma: "es5",
tabWidth: 4,
useTabs: false,
overrides: [
{
files: ["*.js", "*.ts", "*.vue"],
options: {
trailingComma: "es5",
arrowParens: "avoid",
},
},
{
files: ["*.tt", "*.inc"],
options: {
printWidth: 240,
htmlWhitespaceSensitivity: "strict",
parser: "template-toolkit",
plugins: ["@koha-community/prettier-plugin-template-toolkit"],
},
},
],
};