Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Import should be named '.' but found 'm' #2

Closed
SamVerschueren opened this issue Nov 2, 2017 · 2 comments
Closed

Import should be named '.' but found 'm' #2

SamVerschueren opened this issue Nov 2, 2017 · 2 comments

Comments

@SamVerschueren
Copy link
Contributor

I get an error when I import a default export, for instance in my tests.

import m from '..';

[tslint] Misnamed import. Import should be named '.' but found 'm' (import-name)

@sindresorhus
Copy link
Owner

See: microsoft/tslint-microsoft-contrib#378 I'll just disable the rule.

@SamVerschueren
Copy link
Contributor Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants