import-js/eslint-plugin-import

`no-extraneous-dependencies`: add an option to allow specific package names to be in different categories

Open

#903 opened on Jul 26, 2017

View on GitHub
 (19 comments) (37 reactions) (0 assignees)JavaScript (1,540 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (Avg merge 138d 22h) (3 merged PRs in 30d)

Description

It would be great if the import/no-extraneous-dependencies rule could be ignored project wide but only for certain dependencies.

import/no-unresolved already has this functionality with it's ignore regex setting.

This could also be a potential solution for https://github.com/benmosher/eslint-plugin-import/issues/496

Contributor guide