We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4b7c4 commit 94cf07bCopy full SHA for 94cf07b
src/configs/yaml.ts
@@ -51,7 +51,7 @@ export async function yaml(
51
"yaml/indent": [stylisticEnforcement, indent === "tab" ? 2 : indent],
52
"yaml/key-spacing": stylisticEnforcement,
53
"yaml/no-tab-indent": stylisticEnforcement,
54
- "yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes }],
+ "yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes === "backtick" ? "double" : quotes }],
55
"yaml/spaced-comment": stylisticEnforcement,
56
57
...overrides,
0 commit comments