parallel-prettier
parallel-prettier copied to clipboard
Inherit .gitignore
Prettier inherits .gitignore where as parrallel-prettier doesn't
I'm happy to make a PR but how do you want to achieve it? allow multiple ignore paths? include it if it exists?
@lukeapage Prettier does not inherit .gitignore, see https://prettier.io/docs/en/ignore.html
Is this the cause for your issues: https://github.com/microsoft/parallel-prettier/issues/25?
The docs you pointed at say this:
Prettier will also follow rules specified in the ".gitignore" file if it exists in the same directory from which it is run.
@lukeapage to be fair, that page was updated one month ago: https://github.com/prettier/prettier/commit/9ebcf9b0ffdf568d884f748510fd6b730dd28010
When this issue was written Prettier did not follow .gitignore.
I think https://github.com/microsoft/parallel-prettier/issues/23 is needed first then, and maybe it will/would be done as part of this, but I also believe it is good to keep this issue open then.