parent
f6356ae94c
commit
68d1b56696
|
@ -699,7 +699,8 @@ Default | CLI Override | API Override
|
|||
Prettier uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for configuration file support.
|
||||
This means you can configure prettier via:
|
||||
|
||||
* A `.prettierrc` file, written in YAML or JSON, with optional extensions: `.yaml/.yml/.json/.js`.
|
||||
<!-- TODO: Uncomment on the next line when Prettier >1.7.0 has been released. -->
|
||||
* A `.prettierrc` file, written in YAML or JSON<!--, with optional extensions: `.yaml/.yml/.json/.js`-->.
|
||||
* A `prettier.config.js` file that exports an object.
|
||||
* A `"prettier"` key in your `package.json` file.
|
||||
|
||||
|
|
Loading…
Reference in New Issue