Open BYK opened 7 years ago
eslint/eslint seems to have its own utility for this as glob-util
. We as well may implement a utility for this but we also can consider using isaacs/node-glob for connoisseur
. Looks like it provides all the functionality we need.
I'd rather extract ESLint's system as an open-source package and then use that from here.
Currently, we only take in a list of file names to run on. We should also accept glob expressions like
src/**/*.js
and expand them. We should probably look how eslint/eslint does this.