Closed KurtPreston closed 7 years ago
Thanks for the suggestion! For the moment there would be no perf benefits from doing this as config has to be looked up on a per-file basis. So files.map(check)
should be ok. If there are perf reasons introduced that ask for this we can reconsider.
Currently, if you want to lint / prettify files, you need to do them one at a time. When processing multiple files, I suspect it would probably execute much quicker if the
fix
andcheck
methods accepted an array of files, so prettier and tslint could process them in bulk.