BYK / connoisseur

DocTest-like comment assertion
MIT License
1 stars 1 forks source link

Support glob expressions as file names/list #3

Open BYK opened 7 years ago

BYK commented 7 years ago

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.

onurtemizkan commented 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.

BYK commented 7 years ago

I'd rather extract ESLint's system as an open-source package and then use that from here.