Looking at the Prettier docs, there is a tip to base your .prettierignore file on your .gitignore file.
https://prettier.io/docs/en/install.html
Tip! Base your .prettierignore on .gitignore and .eslintignore (if you have one).
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?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…