Skip to content

Commit 0ae173f

Browse files
oieduardorabelonot-an-aardvark
authored andcommitted
Docs: update prettier options in example (#14)
1 parent cbf803c commit 0ae173f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ Then configure the `prettier` rule under the `rules` section:
4747
}
4848
```
4949

50-
You can also pass `prettier` configuration as an option:
50+
You can also pass [`prettier` configuration](https://github.com/prettier/prettier#api) as an option:
5151

5252
```json
5353
{
5454
"rules": {
55-
"prettier/prettier": ["error", {"trailingComma": true, "singleQuote": true}]
55+
"prettier/prettier": ["error", {"trailingComma": "es5", "singleQuote": true}]
5656
}
5757
}
5858
```

0 commit comments

Comments
 (0)