-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprettier.config.mjs
More file actions
30 lines (29 loc) · 858 Bytes
/
prettier.config.mjs
File metadata and controls
30 lines (29 loc) · 858 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
25
26
27
28
29
30
/**********************************************************************************
* Copyright (c) 2025 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the MIT License as outlined in the LICENSE file.
**********************************************************************************/
/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
export default {
singleQuote: true,
jsxSingleQuote: true,
arrowParens: 'avoid',
trailingComma: 'none',
endOfLine: 'lf',
printWidth: 140,
tabWidth: 4,
overrides: [
{
files: ['*.json', '*.yml'],
options: {
printWidth: 140,
tabWidth: 4
}
}
],
plugins: ['prettier-plugin-packagejson']
};