Skip to content

Commit 94cf07b

Browse files
fix: yaml/quotes
1 parent 2e4b7c4 commit 94cf07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configs/yaml.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function yaml(
5151
"yaml/indent": [stylisticEnforcement, indent === "tab" ? 2 : indent],
5252
"yaml/key-spacing": stylisticEnforcement,
5353
"yaml/no-tab-indent": stylisticEnforcement,
54-
"yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes }],
54+
"yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes === "backtick" ? "double" : quotes }],
5555
"yaml/spaced-comment": stylisticEnforcement,
5656

5757
...overrides,

0 commit comments

Comments
 (0)