Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: avoid unnecessary fs.statSync calls
Only resolve a module dir when we now that the mapped path is a directory. This improves linting time by about 18% in some projects with lots of files.
- Loading branch information