Prettier Scans /demos/dev/ failing pnpm tests #5108
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Currently Prettier checks against the
/demos/dev/
directory which causes the tests ran withpnpm test
to fail if a file fails. I think it makes sense to check against theexample.html
file since that's a template that shouldn't change but for any other file there is no benefit to formatting the code properly because they are untracked per the.gitignore
file.Steps to reproduce
/demos/dev/
directory. You can simply copy theexample.html
file and change its name.pnpm test
.Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
Adding some code to the
prettierignore
file so that the Prettier code formmatter doesn't check the/demos/dev/
directory.Additional Context
No response
The text was updated successfully, but these errors were encountered: