title: How to base .prettierignore file on .gitignore
body: <p>Looking at the Prettier docs, there is a tip to base your .prettierignore file on your .gitignore file.</p>
  <p><a href="https://prettier.io/docs/en/install.html" rel="noreferrer">https://prettier.io/docs/en/install.html</a></p>
  <p><code>Tip! Base your .prettierignore on .gitignore and .eslintignore (if you have one).</code></p>
  <p>Can someone explain what this means and how to do this? Is there a way to automatically add everything to your .prettierignore included in your .gitignore?</p>