-
-
Notifications
You must be signed in to change notification settings - Fork 618
Expand file tree
/
Copy path.prettierrc.js
More file actions
33 lines (33 loc) · 727 Bytes
/
.prettierrc.js
File metadata and controls
33 lines (33 loc) · 727 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
module.exports = {
trailingComma: "all",
proseWrap: "always",
overrides: [
{
files: "CRYSTAL_FLOW.md",
options: {
printWidth: 120,
},
},
{
// Due to the following Prettier issue, it's unsafe to proseWrap MDX currently
// https://github.com/prettier/prettier/issues/13586
files: ["**/website/**/*.mdx", "**/website/**/*.md"],
options: {
proseWrap: "preserve",
},
},
{
// Wrapping commands in yaml is gross
files: [".github/**/*.yml"],
options: {
proseWrap: "preserve",
},
},
{
files: "grafast/grafast/vendor/graphql-js/**",
options: {
singleQuote: true,
},
},
],
};