Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

[import-name] Fix #378 #591

Merged
merged 1 commit into from
Oct 26, 2018
Merged

Conversation

Igorbek
Copy link
Contributor

@Igorbek Igorbek commented Oct 26, 2018

Fixes #378

  • ignore modules that have dotted paths like ., .., ./

- ignore dotted paths `.`, `..`
Copy link

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Looks great, thanks @Igorbek!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 603820f into microsoft:master Oct 26, 2018
import AnyName = require('.');
import AnyName = require('..');
import AnyName = require('./');
import AnyName = require('../');

Choose a reason for hiding this comment

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

How about import AnyName = require('../..');?

Choose a reason for hiding this comment

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

Good point - filed #594

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

Successfully merging this pull request may close these issues.

3 participants