-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
1 parent
46de0e8
commit 3eae619
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters