-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.prettierrc.js
More file actions
36 lines (36 loc) · 683 Bytes
/
.prettierrc.js
File metadata and controls
36 lines (36 loc) · 683 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
31
32
33
34
35
36
module.exports = {
trailingComma: 'es5',
printWidth: 120,
plugins: ['prettier-plugin-ember-template-tag'],
overrides: [
{
files: '*.{js,ts,cjs,cts,mjs,mts}',
options: {
singleQuote: true,
},
},
{
files: '*.scss',
options: {
parser: 'scss',
trailingComma: 'none',
singleQuote: false,
},
},
{
files: ['*.hbs'],
options: {
singleQuote: false,
},
},
{
files: ['*.gjs', '*.gts'],
options: {
parser: 'ember-template-tag',
singleQuote: true,
templateSingleQuote: false,
trailingComma: 'es5',
},
},
],
};