Skip to content

Convert outermost quotes messed up #88

@asportnoy

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.

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