Skip to content

Commit 0e1fe07

Browse files
committed
Fix docs
1 parent 2495742 commit 0e1fe07

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,18 @@ Output style:
310310
}
311311
```
312312

313-
##### 2) Tabs everywhere, single quotes, unquoted props where valid
313+
##### 2) Tabs everywhere, single quotes, properties quoted only when necessary
314314

315315
```ts
316316
node.toString({
317317
indentationCharacter: 'tab',
318-
string: {quote: 'single'},
319-
property: {quote: 'single', unquoted: true},
318+
string: {
319+
quote: 'single'
320+
},
321+
property: {
322+
quote: 'single',
323+
unquoted: true
324+
},
320325
object: {
321326
leadingIndentation: true,
322327
entryIndentation: true,

0 commit comments

Comments
 (0)