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

feat(import): use core rule instead of plugin rule #786

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

ybiquitous
Copy link
Owner

The eslint-plugin-import document says:

If the core ESLint version is good enough (...), keep it and don't use this.

https://github.com/benmosher/eslint-plugin-import/blob/v2.22.1/docs/rules/no-duplicates.md#when-not-to-use-it

Note that @typescript-eslint/no-duplicate-imports also is present now.

"@typescript-eslint/no-duplicate-imports": "error", // eslint-disable-line sort-keys

The `eslint-plugin-import` document says:

> If the core ESLint version is good enough (...), keep it and don't use this.

Note that `@typescript-eslint/no-duplicate-imports` also is present now.
@ybiquitous ybiquitous merged commit 0d6546d into main Oct 7, 2020
@ybiquitous ybiquitous deleted the no-duplicate-imports branch October 7, 2020 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant