SyntaxError when tsx/jsx and setup script are used together

This issue has been tracked since 2022-08-21.

Version

2.7.9

Reproduction link

github.com

Steps to reproduce

  • set .prettierrc "vueIndentScriptAndStyle" to true
  • run npm run serve

What is expected?

run without issues

What is actually happening?

SyntaxError: src/App.vue: Unterminated string constant


options.deindent === true ||

jsx/tsx script indent trim unexpected

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-10-03
Star Count 199758
Watcher Count 6095
Fork Count 32874
Issue Count 590

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date