Closed silverwind closed 7 years ago
eclint check dir/*/
This won't work if the user has extended globbing globstar disabled in their shell. Another issue with the **/*
expansion is that there's the issues that globs like this can easily reach the shell's maximum command length, which, depending on environment can be as short as 32000 characters.
eclint check "dir/**/*"
or just eclint check
Globs support by vinyl-fs
Okay, so eclint check 'dir/**/*'
should work without shell globbing. Still I think it'd be nice to support directories directly, eslint does support it too.
PR is welcome.
It'd be neat if one could pass a directory and files inside would get enumerated. For example
eclint check dir
should check both files. Currently it does nothing in this case.