Skip to content

plugin/single_quotes changes strings that have single-quotes inside #86

Closed
@boris-petrov

Description

@boris-petrov

Using @prettier/plugin-ruby 3.1.2 and syntax_tree 2.6.0. A string like x = "asd'qwe" is changed to x = 'asd\'qwe' which I believe is worse. Is it possible to somehow configure plugin/single_quotes? Or change the default so it doesn't do that? 😄

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