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 "limit-relative-import" rule doesn't work with single quotes #1

Open
evp3103 opened this issue May 12, 2019 · 0 comments
Open

The "limit-relative-import" rule doesn't work with single quotes #1

evp3103 opened this issue May 12, 2019 · 0 comments

Comments

@evp3103
Copy link

evp3103 commented May 12, 2019

Need support dynamically changing the quote character for the following regular expression:
.replace(/^"(.+?)"$/, "$1");
.replace(/^'(.+?)'$/, "$1");
.replace(/^QUOTEMARK_PLACEHOLDER(.+?)QUOTEMARK_PLACEHOLDER$/, "$1");

@evp3103 evp3103 changed the title The rule "limit-relative-import" doesn't work with single quotemarks The "limit-relative-import" rule doesn't work with single quotes May 12, 2019
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

No branches or pull requests

1 participant