SyntaxError when tsx/jsx and setup script are used together

This issue has been created 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-07
Star Count 199821
Watcher Count 6092
Fork Count 32893
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
在emacs-doom下,如何集成lsp-bridge,并扩展支持swift语言? 19 2022-06-07 2022-07-28
关于原神每日素材更新失败以及BILIBILI推送延迟过高发生错误,貌似和playwright有关 3 2021-12-08 2022-09-26
连接控制->会话超时,这个时间设置,无法设置成 ‘0’ 3 2018-12-27 2022-10-03
eslint-plugin-tailwindcss + react 2 2022-04-05 2022-10-01
ILI9341 3.2inch TFT with XPT2046 Problem 6 2021-10-02 2022-09-20
Lots of print output in 0.11 2 2021-05-14 2022-07-31
Doesn't have dark mode 6 2021-12-02 2022-10-04
Hi hope find you well 0 2022-03-16 2022-09-25
Why does the inverse-warped image look more like the source than the target image? (see image example) 2 2021-04-12 2022-09-21
Change params to *args to reduce code duplication 0 2021-04-25 2022-10-01
Make the taskbar show up in second monitor only. 0 2022-01-17 2022-09-26
Open TOS attachments and TOS reference link on a new page 2 2021-11-10 2022-08-30
Typo in wiki Hook page in hook script path 1 2021-03-20 2022-07-17
Error when trying to access a web map gallery items through proxy from ArcGIS Online (After TLS Update) 3 2019-05-13 2022-10-04
[Bug]: Connecting to server gives "Incomplete set of tags received from server" 3 2022-06-24 2022-09-24
[Question]: How to craft a Robit from a mod mechanism? 0 2022-06-23 2022-07-19
Stylelint fix is overwriting current buffer with the linter's results 0 2021-09-23 2022-10-06
Swing issue in Java Update 341 0 2022-07-23 2022-09-22
[BUG] Inability to close while terminal too small 0 2021-11-29 2022-10-07
Getting "No Such Method" Error is showing up for latest karate version 2 2022-06-21 2022-09-20
How to add text below signal edge? 2 2021-10-27 2022-09-29
cmdLineTester_GCRotatingVerboseLogTests No such file or directory 11 2022-02-02 2022-09-10
How to put image inside to this white container? 2 2022-01-24 2022-02-06
3dtiles layer wrongly overlayed on top of custom terrain 5 2022-04-06 2022-10-02
Response.headers loses data on multiple values 0 2022-06-06 2022-09-23
Date Release 11.1 4 2021-01-25 2022-01-14
Use cache_db with paratest or fastest? 3 2019-01-16 2022-10-06
jni_md.h not found on linux_mips64 and linux_riscv64 0 2022-02-13 2022-10-06
Question: Any way to cancel previous event? 2 2021-05-06 2022-09-27
Refactor common network shared code into package 27 2017-09-21 2022-10-04
Dynamic Routing and Web URL Change Issue 1 2021-07-02 2022-08-11
License and jscolor 1 2022-01-21 2022-01-16
restore "Reverse" Functionality 1 2022-01-20 2022-09-24
Transmission daemon freezes with 100% CPU reading .part file 1 2022-03-20 2022-10-04
speedGain changes select a higher-than-necessary maneuver distance 0 2022-04-05 2022-09-28
--download-db-only for trivy config 1 2021-10-16 2022-10-04
Car hugs right consistently 4 2022-03-07 2022-10-02
Install phpcsutils for travis tests when testing with phpcs:dev-master 2 2020-07-29 2022-02-22
Memory leak when video component of the input stream is broken 0 2021-10-22 2022-10-04
[Bug Report] $target is null 0 2021-12-02 2022-10-01
Can’t use DefaultArg(…) within Concatenate[…] 3 2022-05-05 2022-08-24
the text of next button has mistake 2 2022-07-12 2022-09-25
SSL Authentication For windows built-in VPN Client 25 2022-06-27 2022-09-25
report possible bug in AndroidInsecureFileModeEnabled 2 2022-01-16 2022-09-21
VmaBlockMetadata_Generic::FindAtOffest eats much cpu time when a large amout of object is freed 5 2021-12-31 2022-10-01
Simplify Monaco Editor Release Process 0 2021-11-04 2022-09-20
Updating `go` container to latest release (1.17) and dropping unsupported (1.15) 0 2021-08-18 2022-10-04
Cannot build QIR Runtime using VS 2019 dev command prompt 0 2021-06-19 2022-10-01
Fix compiling S-Function with Matlab R2018b 1 2019-01-29 2022-09-09
Apache license not recognized 1 2020-03-05 2022-10-02