Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for
package.yaml
config
- Loading branch information
1 parent
6d2418f
commit bb96162
Showing
5 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#### Add support for `package.yaml` config (#16157 by @danielbayley) | ||
|
||
Enable support for reading `prettier` configuration directly from [`package.yaml`](https://github.com/pnpm/pnpm/pull/1799). | ||
|
||
<!-- prettier-ignore --> | ||
```yaml | ||
# package.yaml | ||
prettier: | ||
semi: false | ||
singleQuote: true | ||
``` | ||
|
||
```js | ||
// Input | ||
console.log("pretty"); | ||
|
||
// Prettier | ||
console.log("pretty"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters