Settings in .prettierrc are irgnored
Environments:
- Prettier Version: latest
- Running Prettier via: VSCode
- Runtime: ?
- Operating System: Linux
- Prettier plugins (if any): ---
Steps to reproduce:
.prettierrc
{
"proseWrap": "never"
}
test.md
Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| bordered | Toggles rendering of the border around the list | boolean | false |
| footer | List footer renderer | string\\|ReactNode | - |
| grid | The grid type of list. You can set grid to something like {gutter: 16, column: 4} | object | - |
| header | List header renderer | string\\|ReactNode | - |
| itemLayout | The layout of list, default is \`horizontal\`, If a vertical list is desired, set the itemLayout property to \`vertical\` | string | - |
| rowKey | Item's unique key, could be a string or function that returns a string | string\\|Function(record):string | \`key\` |
| loading | Shows a loading indicator while the contents of the list are being fetched | boolean\\|[object](https://ant.design/components/spin-cn/#API) ([more](https://github.com/ant-design/ant-design/issues/8659)) | false |
| loadMore | Shows a load more content | string\\|ReactNode | - |
| locale | i18n text including empty text | object | emptyText: 'No Data' <br> |
| pagination | Pagination [config](https://ant.design/components/pagination/), hide it by setting it to false | boolean \\| object | false |
| split | Toggles rendering of the split under the list item | boolean | true |
Expected behavior:
Prettier should use the .prettierrc file and change the proseWrap option to never.
Actual behavior:
.prettierrc will be detected, but not used.
["INFO" - 5:40:24 PM] Formatting file:///test.md
["INFO" - 5:40:24 PM] Using config file at '.prettierrc'
["INFO" - 5:40:24 PM] Using ignore file (if present) at .prettierignore
["INFO" - 5:40:24 PM] File Info:
{
"ignored": false,
"inferredParser": "markdown"
}
["INFO" - 5:40:24 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 5:40:24 PM] Prettier Options:
{
"filepath": "test.md",
"parser": "markdown",
"proseWrap": "preserve"
}
["INFO" - 5:40:24 PM] Formatting completed in 37ms.
Not an issue in core, transferred to prettier-vscode repo.
This bug is missing information needed to diagnose the problem. Please see our guide on how to open a good issue and provide the missing information. Most configuration-related issues can only be resolved by providing a full repro. If you don't provide a sample to reproduce your issue, your bug will most likely be closed.
Cant reproduce with clean repo. Sry, for the inconvenience.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.