-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace prettier hook with separate formatters for YAML and JSON #53
Conversation
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.
Seems fine overall. Would be annoying to change to for existing projects. But I guess it's fine for new ones.
schedule: | ||
interval: "weekly" | ||
interval: weekly |
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.
Does this still work fine? Slightly annoying it's changing Dependabot's defaults / recommended format.
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.
Yup! It's equivalent.
I'd probs rather have the double quotes too, but I can't be bothered to fight the formatter over it. Couldn't see an option for changing the quote type 😞
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.
We should strive for a state of zen that allows us to accept whatever the formatter says is best.
I've fiddled with the settings so that the JSON and YAML output looks similar to what we had before. I still think
prettier
did a better job in places, but this is good enough!Fixes #52.