Need better way to exclude paths/classes #6

aspiers opened this Issue Mar 4, 2014 · 0 comments


None yet
1 participant

aspiers commented Mar 4, 2014

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment