import-js/eslint-plugin-import

include/exclude by glob in no-unused-modules

Open

#1,452 opened on Aug 13, 2019

 (18 comments) (4 reactions) (0 assignees)JavaScript (1,549 forks)batch import
enhancementhelp wanted

Repository metrics

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

Description

I'd like to use no-unused-modules to find files that are exporting but not being imported anywhere, however, i want to exclude all files that match the glob **/*-test.js

Contributor guide