GeoFS-Extensions / autoland

Accessible plugins for GeoFS, an online flight simulator.
https://geofsautoland.wixsite.com/autoland
GNU General Public License v3.0
6 stars 2 forks source link

[feat]: optimize prettier build #142

Closed nicolas377 closed 2 years ago

nicolas377 commented 2 years ago

Is there an existing issue for this?

Description

Right now, the .prettierignore build takes about 2 seconds to complete on my windows machine. It's also very simple and doesn't have room for global ignore patterns, not localized to script folders. We need global ignore patterns for the nyc output folder. We should refactor that build to save on both performance and add functionality.

We could just add a string like this:

toWrite += "nyc_output/**/*\n";

Are there alternatives you've considered?

We should optimize the build anyways, so there's no point in not adding the global functionality while we're at it.