Sitelet https://github.com/import-js/eslint-plugin-import/pull/1135
Skip to content

[no-relative-parent-imports] Resolve paths - #1135

Merged
ljharb merged 1 commit into
import-js:masterfrom
chrislloyd:issue-1123
Jul 16, 2018
Merged

ljharb merged 1 commit into
import-js:masterfrom
chrislloyd:issue-1123

Conversation

@chrislloyd

Copy link
Copy Markdown
Contributor

This changes the rule to resolve paths before emitting an error. While this means the error will trigger less often (before we could report an error even if the file didn't exist on disk yet) I think it's a fine tradeoff so that it can be useful in more situations.

Fixes #1123.

This changes the rule to resolve paths before emitting an error. While this means the error will trigger less often (before we could report an error even if the file didn't exist on disk yet) I think it's a fine tradeoff so that it can be useful in more situations.
@coveralls

coveralls commented Jul 11, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 97.284% when pulling 81bf977 on chrislloyd:issue-1123 into 37554fe on benmosher:master.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 97.284% when pulling 81bf977 on chrislloyd:issue-1123 into 37554fe on benmosher:master.

@chrislloyd

Copy link
Copy Markdown
Contributor Author

I only have intermittent time to check this out - just letting any 👀 know that I haven't forgotten about this fix - just busy.

@ljharb ljharb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ljharb
ljharb merged commit a162af4 into import-js:master Jul 16, 2018
@chrislloyd
chrislloyd deleted the issue-1123 branch August 22, 2018 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

no-relative-parent-imports didn't check if path start with './'

3 participants