`.prettierignore` is only honoured if the file is in the current working directory. This is incorrect. We should check for `.prettierignore` in parent directories following the same algorithm as prettier itself.