-
-
Notifications
You must be signed in to change notification settings - Fork 531
apply prettier #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apply prettier #382
Conversation
Thanks! I think for the I’d be OK with adding I’m in favor of this change if you revert the |
Since there was no I think that all files which should not follow the project-specific prettier config should be listed in the It's weird though that the tests were passing locally but I guess a rebase which removed code for #381 messed it up. |
8cedd64
to
304211a
Compare
Codecov Report
@@ Coverage Diff @@
## main #382 +/- ##
==========================================
+ Coverage 92.91% 93.43% +0.52%
==========================================
Files 5 5
Lines 268 259 -9
Branches 90 84 -6
==========================================
- Hits 249 242 -7
Misses 13 13
+ Partials 6 4 -2
Continue to review full report at Codecov.
|
Ok, fixed. I've also added a |
Now I'm thinking whether the |
tests/*/generated/**/*.ts | ||
*.md | ||
*.yaml | ||
*.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Thanks for adding these 👍🏻
This is great! Thanks for doing this 🙏🏻
To my knowledge, no, they shouldn’t be. We’re using Prettier’s Node API, so that should be theoretically not be paying attention to any config files in the filesystem, unless someone explicitly passes in |
I've noticed prettier is not being followed. This PR formats all JS/TS files according to the prettier config and removes YAML files from the prettier scope as it was apparently not being used for such files at all.