Set prettier working directory to where .prettierignore is (#3101)

Prettier does not use `.prettierignore` unless the current directory is the root where the `.prettierignore` file resides.

* Update Prettier tests
* Look for prettierignore to determine project root
This commit is contained in:
Sorin Iclanzan authored and GitHub committed 2020-08-28 08:14:50 +01:00
1 parent ecd7abecc0
commit 80bd2e18d6
4 files changed
+27 -1

No files matched your search

Whitespace-only changes.