Closed
Description
openedon Oct 4, 2016
I want to set my glob to tests/**
, so that only the top-level "tests" dir can contain things that require dev deps.
However, this rule compares against the full absolute path of the file, which includes the path to the project root - which isn't really useful, and forces people to start 100% of their globs with "**/".
I'd like the rule to check both against the full filename, and also against path.join(process.cwd(), glob)
, to remove the need for this boilerplate in airbnb's shared config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment