import-js/eslint-plugin-import

feature request: add ignore options for `import/no-duplicates`

Offen

#1.479 geöffnet am 17.09.2019

 (36 Kommentare) (29 Reaktionen) (0 zugewiesene Personen)JavaScript (1.548 Forks)batch import
enhancementhelp wantedtypescript

Repository-Metriken

Stars
 (5.940 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 138T 22h) (3 gemergte PRs in 30 T)

Beschreibung

When using TypeScript with date-fns, it only has one bundled typings.d.ts, so eslint-import-resolver-ts will resolve all modules to it.

But they are not all exported from date-fns, what means date-fns and date-fns/locale are different.

So we should allow this case by whitelist.

Contributor Guide