add an example .prettierrc.js config (#3570)

* add an example .prettierrc.js config

* Update configuration.md
This commit is contained in:
Josh Unger authored and Lucas Azzola committed 2017-12-26 18:26:09 +11:00
1 parent 7b211eab24
commit 358984ef0c
1 file changed
+10
+10
View File
@@ -24,6 +24,16 @@ JSON:
}
```
JS:
```js
// .prettierrc.js
module.exports = {
printWidth: 100,
parser: "flow"
};
```
YAML:
```yaml