-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
Couple days ago, Changesets Config schema included prettier setting:
"prettier": {
"type": "boolean",
"description": "When false, Changesets won't format with Prettier",
"default": true
},However, validation process for this new prettier setting does not allow passing anything but undefined:
changesets/packages/config/src/index.ts
Lines 334 to 342 in 84a4a1b
| if (json.prettier !== undefined) { | |
| messages.push( | |
| `The \`prettier\` option is set as ${JSON.stringify( | |
| json.prettier, | |
| null, | |
| 2 | |
| )} when the only valid values are undefined or a boolean` | |
| ); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels