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

* add an example .prettierrc.js config

* Update configuration.md
master
Josh Unger 2017-12-26 00:26:09 -07:00 committed by Lucas Azzola
parent 7b211eab24
commit 358984ef0c
1 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,16 @@ JSON:
}
```
JS:
```js
// .prettierrc.js
module.exports = {
printWidth: 100,
parser: "flow"
};
```
YAML:
```yaml