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

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

Closed
Alex-Sokolov opened this issue Jun 25, 2018 · 2 comments · Fixed by #1135
Closed

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

Alex-Sokolov opened this issue Jun 25, 2018 · 2 comments · Fixed by #1135

Comments

@Alex-Sokolov
Copy link

Alex-Sokolov commented Jun 25, 2018

When add rule to config
import blockIcons from '../../components/test/test.js' — FAIL
but
import blockIcons from './../../components/test/test.js' — OK

ref: #1093

@ljharb
Copy link
Member

ljharb commented Jun 25, 2018

cc @chrislloyd

we may want to use the resolver here to normalize the paths?

@chrislloyd
Copy link
Contributor

Working on this now - thanks for filing the issue @Alex-Sokolov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants