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

Proposal: New rule equivalent of import-name under microsoft contrib. #2223

Closed
viditganpi opened this issue Sep 9, 2021 · 1 comment
Closed

Comments

@viditganpi
Copy link

As, this is a suggested plugin under typescript-eslint/eslint-plugin for migrating some of the import rules from TSLint to ESLint, this rule will be a good addition to the repo.
This rule is also used in tslint-config-airbnb refer this, which is used quite widely. This rule basically says that the import name should match the name of module being imported.
I propose a similar rule be added to this plugin.

@ljharb
Copy link
Member

ljharb commented Sep 18, 2021

Duplicate of #325.

@ljharb ljharb closed this as completed Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants