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.
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:
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.