Closed itsravenous-sky closed 5 years ago
For example, running eslint-parallel ./src will attempt to lint all files under src, whether they be JavaScript or not.
eslint-parallel ./src
src
Replacing ./src with ./src/**/*.js will attempt to lint files specified in .eslintignore, causing warnings.
./src
./src/**/*.js
Eslint itself has a utility for constructing the necessary globs, see https://github.com/eslint/eslint/blob/4def8764273e7cc53c71f0dd67da271636e4c1be/lib/util/glob-util.js#L47-L53. It doesn't look like it's exported from the package, but it's a small piece of code to reproduce.
Would be interested to hear about updates on this, as it's preventing me from being able to use this otherwise neat library to lint my large projects ðŸ˜
sure. pull requests are gladly appreciated
https://github.com/alansouzati/eslint-parallel/releases/tag/v1.0.0
For example, running
eslint-parallel ./src
will attempt to lint all files undersrc
, whether they be JavaScript or not.Replacing
./src
with./src/**/*.js
will attempt to lint files specified in .eslintignore, causing warnings.Eslint itself has a utility for constructing the necessary globs, see https://github.com/eslint/eslint/blob/4def8764273e7cc53c71f0dd67da271636e4c1be/lib/util/glob-util.js#L47-L53. It doesn't look like it's exported from the package, but it's a small piece of code to reproduce.