Firstly thanks for this gem - great work! Here's a minor suggestion...
Negative lookaheads are kind of ugly, or at least difficult to grok. It would be nice to support exclusion separately via --class-name-exclude and --path-exclude options (or similar).
In the mean time, it would be helpful to improve the documentation about how to exclude via negative lookaheads. The existing 'project_name(?!.*test)' example is OK but there are gotchas e.g. when project_name is removed it stops working (you need some kind of anchor for it to work).
Firstly thanks for this gem - great work! Here's a minor suggestion...
Negative lookaheads are kind of ugly, or at least difficult to grok. It would be nice to support exclusion separately via
--class-name-exclude
and--path-exclude
options (or similar).In the mean time, it would be helpful to improve the documentation about how to exclude via negative lookaheads. The existing
'project_name(?!.*test)'
example is OK but there are gotchas e.g. whenproject_name
is removed it stops working (you need some kind of anchor for it to work).