feat: share options with JS
Prettier has one option set, so proseWrap and htmlWhitespaceSensitivity also apply to the Markdown and HTML in JS templates, and singleAttributePerLine to JSX. tidy takes the first two from the Markdown and HTML options, and the shared singleAttributePerLine now reaches JSX. A rest element with a trailing comma (TS1013, Babel's RestTrailingComma) and one that isn't last (TS1014) are recoverable. The conformance oracle runs Prettier's JS, JSX and TypeScript fixtures with their options.
Parent44fc87d
6 files changed+124-12
StackedSplit