Import should be named '.' but found 'm'
SamVerschueren opened this issue · 2 comments
SamVerschueren commented
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 commented
See: microsoft/tslint-microsoft-contrib#378 I'll just disable the rule.
SamVerschueren commented
Thanks!