Skip to content

Convert outermost quotes messed up #88

Description

@asportnoy

Take this sample code:

const example = {
	'hello': 'world',
};

When "Convert outermost quotes" is enabled, adding a template string to the value will give this result:

const example = {
	`hello': 'world ${test}`,
//      ^                      ^
};

Seems like it thinks both the key and value are the same string, when they are actually 2 different strings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions