Skip to content

Remove removeLeadingDot option, making it the default#18

Merged
jakob101 merged 1 commit into
dawsbot:masterfrom
sverrejoh:svjohan/remove-strip-leading-dotslash
Jul 18, 2017
Merged

Remove removeLeadingDot option, making it the default#18
jakob101 merged 1 commit into
dawsbot:masterfrom
sverrejoh:svjohan/remove-strip-leading-dotslash

Conversation

@sverrejoh

Copy link
Copy Markdown
Contributor

The leading dot is redundant, and should never be there. Some IDE's
rightfully complain about this.

The leading dot is redundant, and should never be there. Some IDE's
rightfully complain about this.
@kristofferremback

Copy link
Copy Markdown
Contributor

This will make the extension harder to use for javascript (and probably other js-like languages such as TypeScript) as it will provide incorrect module paths for sibling files.

@sverrejoh

Copy link
Copy Markdown
Contributor Author

What do you mean with "incorrect module paths for sibling files"?

Why isn't ./../foo.js and ../foo.js always the same?

@kristofferremback

kristofferremback commented Jul 7, 2017

Copy link
Copy Markdown
Contributor

Oh wait, sorry I misread. You're correct with ./../foo.js being odd. I was talking about ./foo and foo...

@jakob101 jakob101 merged commit 1ffe291 into dawsbot:master Jul 18, 2017
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 this pull request may close these issues.

3 participants