Skip to content

Commit

Permalink
fix: yaml/quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Nov 28, 2024
1 parent 2e4b7c4 commit 94cf07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function yaml(
"yaml/indent": [stylisticEnforcement, indent === "tab" ? 2 : indent],
"yaml/key-spacing": stylisticEnforcement,
"yaml/no-tab-indent": stylisticEnforcement,
"yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes }],
"yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes === "backtick" ? "double" : quotes }],
"yaml/spaced-comment": stylisticEnforcement,

...overrides,
Expand Down

0 comments on commit 94cf07b

Please sign in to comment.