Add support for directory creation to --output-file flag #5670
Labels
status: ready to implement
is ready to be worked on by someone
type: enhancement
a new feature that isn't related to rules
when using the
--output-file
CLI option non-existing folders are not created resulting in a crash when trying to writecreate the directory path before writing the output, similar to how eslint does this https://github.com/eslint/eslint/blob/4e9c6edcf8d11ec31354cdd853bec0308fa70aff/lib/cli.js#L193-L194
If you're interested, I can send a PR
The text was updated successfully, but these errors were encountered: