Closed consideRatio closed 3 years ago
The PR review will show all comments, not just the code surrounding the lines of code changed, but also the code surrounding all comments. This PR was small, but was swamped with comments.
this seems pretty reasonable to me - agreed that it is confusing seeing the bot post comments all throughout the file. Does anybody have a strong objection?
Does anybody have a strong objection?
Nop, in fact, I would be OK-ish with it (btw, I have not used pre-commit.ci before although the concept seems interesting to me).
I'm a huge fan of pre-commit.ci
We use the https://github.com/karancode/yamllint-github-action, which can be found to comment on PRs.
This is a terrible practice in my mind, and seems to be the default behavior for the action, even though its documented to not be so. Perhaps there a bug that makes the comment happens no matter what?
I suggest this action is dropped in favor of using a pre-commit hook with prettier, that auto-formats the YAML instead of just lints it. I've loved it in z2jh and other projects with big YAML files.
I've just verified also that with prettier, we would catch duplicate keys with a clear error message if they are detected.
To close this