1 parent
f6356ae94c
commit
68d1b56696
1 file changed
+2
-1
@@ -699,7 +699,8 @@ Default | CLI Override | API Override
|
|||||||
Prettier uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for configuration file support.
|
Prettier uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for configuration file support.
|
||||||
This means you can configure prettier via:
|
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.config.js` file that exports an object.
|
||||||
* A `"prettier"` key in your `package.json` file.
|
* A `"prettier"` key in your `package.json` file.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user