Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The AddImports feature should allow you to select what quotes to use #269

Open
ArmandBernard opened this issue Sep 9, 2023 · 0 comments · May be fixed by #270
Open

The AddImports feature should allow you to select what quotes to use #269

ArmandBernard opened this issue Sep 9, 2023 · 0 comments · May be fixed by #270

Comments

@ArmandBernard
Copy link

Hello,

This is a minor one, but the AddImport method always generates imports with single quotes around the path e.g.

import { TimeSpan } from './TimeSpan.ts';

Many projects, including mine, require imports to use double quotes for consistency.

import { TimeSpan } from "./TimeSpan.ts";

While I could maybe exclude the rule for just these generated files, allowing the user to specify the use of single or double quotes would be nicer.

The relevant files seem to be:

@ArmandBernard ArmandBernard linked a pull request Sep 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant