add an example .prettierrc.js config (#3570)
* add an example .prettierrc.js config * Update configuration.md
This commit is contained in:
1 parent
7b211eab24
commit
358984ef0c
1 file changed
+10
@@ -24,6 +24,16 @@ JSON:
|
||||
}
|
||||
```
|
||||
|
||||
JS:
|
||||
|
||||
```js
|
||||
// .prettierrc.js
|
||||
module.exports = {
|
||||
printWidth: 100,
|
||||
parser: "flow"
|
||||
};
|
||||
```
|
||||
|
||||
YAML:
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in new issue
Block a user