Skip to content

SyntaxError when tsx/jsx and setup script are used together #12755

@ivan-94

Description

@ivan-94

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions